| 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, crux-arm at mikeux dot dyndns dot org |
| 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 | } |