mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-27 13:11:46 +03:00
cdd6d68b2a
All of these patches did the same thing, which is already in upstream config.sub. With this change, we need only add `use_fresh_config_sub=true` to the package.sh file. Note that this is not done automatically in case the port has a modified config.sub file.
16 lines
685 B
Bash
Executable File
16 lines
685 B
Bash
Executable File
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=xz
|
|
version=5.2.5
|
|
useconfigure=true
|
|
use_fresh_config_sub=true
|
|
config_sub_path=build-aux/config.sub
|
|
files="https://tukaani.org/xz/xz-${version}.tar.gz xz-${version}.tar.gz f6f4910fd033078738bd82bfba4f49219d03b17eb0794eb91efbae419f4aba10"
|
|
auth_type=sha256
|
|
depends=("zlib" "libiconv")
|
|
|
|
install() {
|
|
run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install
|
|
${CC} -pthread -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/liblzma.so -Wl,-soname,liblzma.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/liblzma.a -Wl,--no-whole-archive -lz -liconv
|
|
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/liblzma.la
|
|
}
|