tiff: cross build and dbg support.

This commit is contained in:
Juan RP 2013-03-20 08:07:11 +01:00
parent f1ff2190dc
commit a00d9b9107
2 changed files with 12 additions and 4 deletions

View file

@ -1,9 +1,9 @@
# Template build file for 'tiff'.
pkgname=tiff
version=4.0.3
revision=2
revision=3
build_style=gnu-configure
configure_args="--enable-cxx --without-x --disable-static"
configure_args="--enable-cxx --without-x"
makedepends="zlib-devel libjpeg-turbo-devel liblzma-devel"
subpackages="$pkgname-devel"
short_desc="Library and tools for reading and writing TIFF data files"
@ -12,3 +12,11 @@ license="BSD"
homepage="http://www.remotesensing.org/libtiff/"
distfiles="ftp://ftp.remotesensing.org/pub/libtiff/$pkgname-$version.tar.gz"
checksum=ea1aebe282319537fb2d4d7805f478dd4e0e05c33d0928baba76a7c963684872
if [ -n "$XBPS_CROSS_BUILD" ]; then
makedepends="automake"
crossmakedepends="zlib-devel libjpeg-turbo-devel liblzma-devel"
pre_configure() {
autoreconf -fi
}
fi

View file

@ -1,12 +1,12 @@
# Template file for 'tiff-devel'.
#
noarch=yes
depends="zlib-devel libjpeg-turbo-devel tiff>=$version"
short_desc="${sourcepkg} (development files)"
short_desc="${short_desc} - development files"
do_install() {
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove "usr/lib/*.a" usr/lib
vmove usr/share/man/man3 usr/share/man
vmove usr/share/doc usr/share
}