2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'tiff'.
|
|
|
|
pkgname=tiff
|
2012-09-23 21:02:37 +02:00
|
|
|
version=4.0.3
|
2013-03-20 08:07:11 +01:00
|
|
|
revision=3
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-03-20 08:07:11 +01:00
|
|
|
configure_args="--enable-cxx --without-x"
|
2013-01-08 10:10:40 +01:00
|
|
|
makedepends="zlib-devel libjpeg-turbo-devel liblzma-devel"
|
2008-10-02 19:09:56 +02:00
|
|
|
short_desc="Library and tools for reading and writing TIFF data files"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-02-19 07:17:59 +01:00
|
|
|
license="BSD"
|
2012-06-25 08:28:16 +02:00
|
|
|
homepage="http://www.remotesensing.org/libtiff/"
|
|
|
|
distfiles="ftp://ftp.remotesensing.org/pub/libtiff/$pkgname-$version.tar.gz"
|
2012-09-23 21:02:37 +02:00
|
|
|
checksum=ea1aebe282319537fb2d4d7805f478dd4e0e05c33d0928baba76a7c963684872
|
2013-03-20 08:07:11 +01:00
|
|
|
|
2013-04-09 01:49:27 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-04-23 15:13:09 +02:00
|
|
|
hostmakedepends="automake libtool"
|
2013-03-20 08:07:11 +01:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|
2013-04-12 19:13:19 +02:00
|
|
|
|
|
|
|
tiff-devel_package() {
|
|
|
|
depends="zlib-devel libjpeg-turbo-devel tiff>=$version"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
vmove usr/share/doc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tiff_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|