41 lines
1.0 KiB
Bash
41 lines
1.0 KiB
Bash
# Template file for 'tiff'
|
|
pkgname=tiff
|
|
version=4.5.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-cxx --without-x"
|
|
makedepends="jbigkit-devel libjpeg-turbo-devel
|
|
liblzma-devel libzstd-devel zlib-devel"
|
|
short_desc="Library and tools for reading and writing TIFF data files"
|
|
maintainer="skmpz <dem.procopiou@gmail.com>"
|
|
license="libtiff"
|
|
homepage="http://www.simplesystems.org/libtiff/"
|
|
distfiles="https://download.osgeo.org/libtiff/tiff-${version}.tar.gz"
|
|
checksum=c7a1d9296649233979fa3eacffef3fa024d73d05d589cb622727b5b08c423464
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" --enable-tests"
|
|
else
|
|
configure_args+=" --disable-tests"
|
|
fi
|
|
|
|
post_install() {
|
|
for f in ${DESTDIR}/usr/share/man/man3/*.3tiff; do
|
|
mv ${f} ${f%tiff}
|
|
done
|
|
vlicense LICENSE.md
|
|
}
|
|
|
|
tiff-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/man/man3
|
|
vmove usr/share/doc
|
|
}
|
|
}
|