CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
0700279638077d94a58d1db7792a6f144c167692
[attic/ports/opt-cross.git] / libtiff / Pkgfile
1 # Description: Library for manipulation of TIFF (Tag Image File Format) images
2 # URL: http://www.remotesensing.org/libtiff/
3 # Maintainer: Tilman Sauerbeck, tilman at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on: libjpeg zlib
6
7 name=libtiff
8 version=3.8.2
9 release=2
10 source=(ftp://ftp.remotesensing.org/libtiff/tiff-$version.tar.gz \
11 $name-$version.patch)
12
13 build() {
14 cd tiff-$version
15 patch -p1 -i $SRC/$name-$version.patch
16 ./configure --build=$CHOST \
17 --host=$CTARGET \
18 --prefix=/usr
19 make
20 make DESTDIR=$PKG install
21 rm -rf $PKG/usr/{bin,share,man/man1}
22 }