wok annotate tiff/receipt @ rev 5013
tazbb: add TAZBB_NO_INSTALL support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 01 13:06:49 2010 +0100 (2010-03-01) |
parents | f735d88b709d |
children | 00d23a2237d8 |
rev | line source |
---|---|
pankso@23 | 1 # SliTaz package receipt. |
pankso@23 | 2 |
pankso@23 | 3 PACKAGE="tiff" |
pankso@23 | 4 VERSION="3.8.2" |
pankso@23 | 5 CATEGORY="x-window" |
pankso@23 | 6 SHORT_DESC="TIFF images libs. (Check tiff-apps for utilities)." |
pankso@23 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@23 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@5007 | 9 DEPENDS="jpeg zlib gcc-lib-base" |
pankso@23 | 10 WEB_SITE="http://www.remotesensing.org/libtiff/" |
pankso@23 | 11 WGET_URL="ftp://ftp.remotesensing.org/pub/libtiff/$TARBALL" |
pankso@23 | 12 |
pankso@23 | 13 # Rules to configure and make the package. |
pankso@23 | 14 compile_rules() |
pankso@23 | 15 { |
pankso@23 | 16 cd $src |
pankso@23 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2407 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2407 | 19 make && |
pankso@23 | 20 make DESTDIR=$PWD/_pkg install |
pankso@23 | 21 } |
pankso@23 | 22 |
pankso@23 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@23 | 24 genpkg_rules() |
pankso@23 | 25 { |
pankso@23 | 26 mkdir -p $fs/usr/lib |
pankso@23 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@23 | 28 strip --strip-unneeded $fs/usr/lib/*.so* |
pankso@23 | 29 } |