40 lines
1005 B
Bash
40 lines
1005 B
Bash
# Template file for 'tiff'
|
|
pkgname=tiff
|
|
version=4.3.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-cxx --without-x"
|
|
hostmakedepends="automake libtool"
|
|
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://libtiff.maptools.org/"
|
|
distfiles="http://download.osgeo.org/libtiff/tiff-${version}.tar.gz"
|
|
checksum=0e46e5acb087ce7d1ac53cf4f56a09b221537fc86dfc5daaad1c2e89e1b37ac8
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
for f in ${DESTDIR}/usr/share/man/man3/*.3tiff; do
|
|
mv ${f} ${f%tiff}
|
|
done
|
|
vlicense COPYRIGHT
|
|
}
|
|
|
|
tiff-devel_package() {
|
|
depends="${makedepends} tiff>=${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
|
|
}
|
|
}
|