21 lines
607 B
Plaintext
21 lines
607 B
Plaintext
# Description: Library for manipulation of TIFF (Tag Image File Format) images
|
|
# URL: http://libtiff.maptools.org/
|
|
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
|
|
# Depends on: libjpeg, zlib
|
|
|
|
name=libtiff
|
|
version=3.9.6
|
|
release=2
|
|
source=(http://download.osgeo.org/libtiff/tiff-$version.tar.gz \
|
|
CVE-2012-2088.patch CVE-2012-2113.patch)
|
|
|
|
build() {
|
|
cd tiff-$version
|
|
patch -p0 -i $SRC/CVE-2012-2088.patch
|
|
patch -p0 -i $SRC/CVE-2012-2113.patch
|
|
./configure --prefix=/usr --mandir=/usr/man
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -rf $PKG/usr/{bin,share,man/man1}
|
|
}
|