opt/libtiff/Pkgfile

22 lines
669 B
Plaintext
Raw Normal View History

# Description: Library for manipulation of TIFF (Tag Image File Format) images
# URL: http://libtiff.maptools.org/
2012-06-14 02:14:09 +02:00
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
# Depends on: libjpeg, zlib
name=libtiff
2012-06-14 02:14:09 +02:00
version=3.9.6
release=3
source=(http://download.osgeo.org/libtiff/tiff-$version.tar.gz \
CVE-2012-2088.patch CVE-2012-2113.patch CVE-2012-3401.patch)
build() {
cd tiff-$version
patch -p0 -i $SRC/CVE-2012-2088.patch
patch -p0 -i $SRC/CVE-2012-2113.patch
patch -p1 -i $SRC/CVE-2012-3401.patch
2010-06-19 18:03:08 +02:00
./configure --prefix=/usr --mandir=/usr/man
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/{bin,share,man/man1}
}