diff --git a/srcpkgs/tiff/template b/srcpkgs/tiff/template index 2eefab61b2..dcc283f873 100644 --- a/srcpkgs/tiff/template +++ b/srcpkgs/tiff/template @@ -1,9 +1,10 @@ # Template build file for 'tiff'. pkgname=tiff version=4.0.3 -revision=4 +revision=5 build_style=gnu-configure configure_args="--enable-cxx --without-x" +hostmakedepends="automake libtool" makedepends="zlib-devel libjpeg-turbo-devel liblzma-devel" short_desc="Library and tools for reading and writing TIFF data files" maintainer="Juan RP <xtraeme@gmail.com>" @@ -12,12 +13,14 @@ homepage="http://www.remotesensing.org/libtiff/" distfiles="ftp://ftp.remotesensing.org/pub/libtiff/$pkgname-$version.tar.gz" checksum=ea1aebe282319537fb2d4d7805f478dd4e0e05c33d0928baba76a7c963684872 -if [ "$CROSS_BUILD" ]; then - hostmakedepends="automake libtool" - pre_configure() { - autoreconf -fi - } -fi +pre_configure() { + autoreconf -fi +} +post_install() { + for f in ${DESTDIR}/usr/share/man/man3/*.3tiff; do + mv ${f} ${f%tiff} + done +} tiff-devel_package() { depends="zlib-devel libjpeg-turbo-devel tiff>=${version}_${revision}"