core/libtiff/PKGBUILD

35 lines
824 B
Bash
Raw Normal View History

2010-10-09 08:07:13 +08:00
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
2010-03-14 23:48:48 +08:00
pkgname=libtiff
pkgver=4.0.3
2010-10-09 08:07:13 +08:00
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="Library for manipulation of TIFF images"
arch=('x86_64')
2010-03-14 23:48:48 +08:00
url="http://www.remotesensing.org/libtiff/"
license=('custom')
depends=('libjpeg-turbo' 'zlib' 'xz')
makedepends=('freeglut')
2010-03-14 23:48:48 +08:00
optdepends=('freeglut: for using tiffgt')
options=('!libtool')
source=("ftp://ftp.remotesensing.org/pub/libtiff/tiff-${pkgver}.tar.gz")
sha1sums=('652e97b78f1444237a82cbcfe014310e776eb6f0')
2010-03-14 23:48:48 +08:00
build() {
cd "${srcdir}/tiff-${pkgver}"
./configure --prefix=/usr
make
}
check() {
cd "${srcdir}/tiff-${pkgver}"
# make check
2010-10-09 08:07:13 +08:00
}
package() {
cd "${srcdir}/tiff-${pkgver}"
make DESTDIR="${pkgdir}" install
install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
2010-03-14 23:48:48 +08:00
}