2006-02-23 17:45:15 +00:00
|
|
|
# Description: Library for manipulation of TIFF (Tag Image File Format) images
|
2013-08-27 18:51:52 +02:00
|
|
|
# URL: http://www.remotesensing.org/libtiff/
|
2012-06-14 02:14:09 +02:00
|
|
|
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
|
2014-02-15 21:18:23 +01:00
|
|
|
# Depends on: libjpeg-turbo, zlib
|
2006-02-23 17:45:15 +00:00
|
|
|
|
|
|
|
name=libtiff
|
2012-09-23 13:19:26 +02:00
|
|
|
version=4.0.3
|
2013-10-24 14:31:38 +02:00
|
|
|
release=4
|
2013-08-19 19:10:53 +02:00
|
|
|
source=(http://download.osgeo.org/libtiff/tiff-$version.tar.gz \
|
2013-10-24 14:31:38 +02:00
|
|
|
gif2tiff-buffer-overflow.patch tiff2pdf_use-after-free.patch lzw-oob-write.patch \
|
|
|
|
tiff-4.0.3-CVE-2013-4243.patch tiff-4.0.3-CVE-2013-1960.patch )
|
2006-02-23 17:45:15 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd tiff-$version
|
2013-08-19 19:10:53 +02:00
|
|
|
patch -d tools -p0 -i $SRC/tiff2pdf_use-after-free.patch
|
|
|
|
patch -d tools -p0 -i $SRC/gif2tiff-buffer-overflow.patch
|
2013-08-27 18:51:52 +02:00
|
|
|
patch -d tools -p0 -i $SRC/lzw-oob-write.patch
|
2013-10-24 14:31:38 +02:00
|
|
|
patch -p0 -i $SRC/tiff-4.0.3-CVE-2013-4243.patch
|
|
|
|
patch -p1 -i $SRC/tiff-4.0.3-CVE-2013-1960.patch
|
2013-08-27 18:51:52 +02:00
|
|
|
|
2010-06-19 18:03:08 +02:00
|
|
|
./configure --prefix=/usr --mandir=/usr/man
|
2006-02-23 17:45:15 +00:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/usr/{bin,share,man/man1}
|
|
|
|
}
|