mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-27 01:50:24 +00:00
c07f91474d
We may need entries with spaces in makeopts, installopts, and configopts, and at that point we should also convert depends and auth_opts to avoid confusion.
17 lines
1 KiB
Bash
Executable file
17 lines
1 KiB
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=tiff
|
|
version=4.2.0
|
|
useconfigure=true
|
|
files="http://download.osgeo.org/libtiff/tiff-${version}.tar.gz tiff-${version}.tar.gz
|
|
http://download.osgeo.org/libtiff/tiff-${version}.tar.gz.sig tiff-${version}.tar.gz.sig"
|
|
auth_type="sig"
|
|
auth_import_key="EBDFDB21B020EE8FD151A88DE301047DE1198975"
|
|
auth_opts=("tiff-${version}.tar.gz.sig" "tiff-${version}.tar.gz")
|
|
depends=("libjpeg" "zstd" "xz")
|
|
|
|
install() {
|
|
run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install
|
|
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiff.so -Wl,-soname,libtiff.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiff.a -Wl,--no-whole-archive -lzstd -llzma -ljpeg
|
|
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiffxx.so -Wl,-soname,libtiffxx.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiffxx.a -Wl,--no-whole-archive -lzstd -llzma -ljpeg
|
|
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiff.la ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiffxx.la
|
|
}
|