mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
492f7132d2
- Replaced /Root with - Improved documentation. - Removed a few typos. - Replaced with - Added brackets in some cases. Most of the changes were reviewed and applied manually.
17 lines
968 B
Bash
Executable file
17 lines
968 B
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="zstd xz"
|
|
|
|
install() {
|
|
run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install
|
|
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiff.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiff.a -Wl,--no-whole-archive -lzstd -llzma
|
|
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiffxx.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiffxx.a -Wl,--no-whole-archive -lzstd -llzma
|
|
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiff.la ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiffxx.la
|
|
}
|