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