void-packages/srcpkgs/tiff/template
2015-06-22 08:35:20 +02:00

36 lines
974 B
Bash

# Template build file for 'tiff'.
pkgname=tiff
version=4.0.4
revision=1
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@voidlinux.eu>"
license="BSD"
homepage="http://www.remotesensing.org/libtiff/"
distfiles="ftp://ftp.remotesensing.org/pub/libtiff/$pkgname-$version.tar.gz"
checksum=8cb1d90c96f61cdfc0bcf036acc251c9dbe6320334da941c7a83cfe1576ef890
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="${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
}
}