updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / mingw32-libtiff-devel / PKGBUILD
blob2980d5f07169bb02322c352bddd7d91ee5670c56
1 pkgname=mingw32-libtiff-devel
2 pkgver=4.0.0beta7
3 pkgrel=1
4 pkgdesc="Library for manipulation of TIFF images, mingw32 port (beta)"
5 arch=('any')
6 url="http://www.remotesensing.org/libtiff/"
7 license=('custom')
8 depends=('mingw32-libjpeg>=7' 'mingw32-zlib')
9 makedepends=()
10 optdepends=('freeglut: for using tiffgt')
11 provides=(mingw32-libtiff)
12 conflicts=(mingw32-libtiff)
13 options=('!libtool' '!buildflags' '!strip')
14 source=(ftp://ftp.remotesensing.org/pub/libtiff/tiff-${pkgver}.tar.gz)
15 md5sums=('7a8252fbc6287ff2aa9b26062041a33e')
17 build() {
18   cd "${srcdir}/tiff-${pkgver}"
20   ./configure --prefix=/usr/i486-mingw32 --host=i486-mingw32 --sysconfdir=/usr/i486-mingw32/etc --mandir=/usr/i486-mingw32/share/man
21   make
24 package() {
25   cd "${srcdir}/tiff-${pkgver}"
27   make DESTDIR="${pkgdir}" install
29   install -D -m644 COPYRIGHT "${pkgdir}/usr/i486-mingw32/share/licenses/${pkgname}/LICENSE"