wok-6.x annotate pngcrush/receipt @ rev 9256
Up: tazwok 4.2.8
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 15 02:56:33 2011 +0100 (2011-03-15) |
parents | 4582132383c4 |
children | 02bbaa9d12ba |
rev | line source |
---|---|
mimas@2036 | 1 # SliTaz package receipt. |
mimas@2036 | 2 |
mimas@2036 | 3 PACKAGE="pngcrush" |
devl547@5525 | 4 VERSION="1.7.10" |
mimas@2036 | 5 CATEGORY="utilities" |
mimas@2036 | 6 SHORT_DESC="PNG optimizer" |
mimas@2036 | 7 MAINTAINER="mimas@slitaz.org" |
mimas@2036 | 8 DEPENDS="" |
mimas@2036 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
mimas@2036 | 10 WEB_SITE="http://pmt.sourceforge.net/pngcrush/" |
mimas@2036 | 11 WGET_URL="$SF_MIRROR/pmt/$TARBALL" |
mimas@2036 | 12 |
mimas@2036 | 13 # Rules to configure and make the package. |
mimas@2036 | 14 compile_rules() |
mimas@2036 | 15 { |
mimas@2036 | 16 cd $src |
mimas@2036 | 17 make |
mimas@2036 | 18 |
mimas@2036 | 19 mkdir -p $PWD/_pkg/usr/bin |
mimas@2036 | 20 install -m755 pngcrush $PWD/_pkg/usr/bin/ |
mimas@2036 | 21 } |
mimas@2036 | 22 |
mimas@2036 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2036 | 24 genpkg_rules() |
mimas@2036 | 25 { |
mimas@2036 | 26 mkdir -p $fs/usr |
mimas@2036 | 27 cp -a $_pkg/usr/bin $fs/usr |
mimas@2036 | 28 |
mimas@2036 | 29 strip $fs/usr/bin/* |
mimas@2036 | 30 } |
mimas@2036 | 31 |