a04a2ddc7e
See http://bugzilla.maptools.org/show_bug.cgi?id=2450 and http://bugzilla.maptools.org/show_bug.cgi?id=2449
21 lines
667 B
Plaintext
21 lines
667 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=4.0.3
|
|
release=2
|
|
source=(http://download.osgeo.org/libtiff/tiff-$version.tar.gz \
|
|
gif2tiff-buffer-overflow.patch tiff2pdf_use-after-free.patch)
|
|
|
|
build() {
|
|
cd tiff-$version
|
|
patch -d tools -p0 -i $SRC/tiff2pdf_use-after-free.patch
|
|
patch -d tools -p0 -i $SRC/gif2tiff-buffer-overflow.patch
|
|
./configure --prefix=/usr --mandir=/usr/man
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -rf $PKG/usr/{bin,share,man/man1}
|
|
}
|