wok view tiff/receipt @ rev 7952
Up: lvm2 to 2.02.80.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Jan 15 15:38:39 2011 +0000 (2011-01-15) |
parents | 00d23a2237d8 |
children | 940b5937e496 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tiff"
4 VERSION="3.9.4"
5 CATEGORY="x-window"
6 SHORT_DESC="TIFF images libs. (Check tiff-apps for utilities)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="jpeg zlib gcc-lib-base"
10 WEB_SITE="http://www.remotesensing.org/libtiff/"
11 WGET_URL="ftp://ftp.remotesensing.org/pub/libtiff/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
18 # Added patch to fix CVE-2009-2285
19 # Bufffer underflow in the LZWDecodeCompat function in libtiff 3.8.2
20 # allows context-dependent attackers to cause a denial of service
21 # (crash) via a crafted TIFF imag.
23 patch -p1 -i ../stuff/libtiff-CVE-2009-2285.patch
24 ./configure --prefix=/usr --infodir=/usr/share/info \
25 --mandir=/usr/share/man $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 strip --strip-unneeded $fs/usr/lib/*.so*
36 }