wok-6.x diff pngcrush/receipt @ rev 2845
Update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 01 13:43:09 2009 +0200 (2009-05-01) |
parents | |
children | 96a620abf70f |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pngcrush/receipt Fri May 01 13:43:09 2009 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="pngcrush" 1.7 +VERSION="1.6.13" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="PNG optimizer" 1.10 +MAINTAINER="mimas@slitaz.org" 1.11 +DEPENDS="" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://pmt.sourceforge.net/pngcrush/" 1.14 +WGET_URL="$SF_MIRROR/pmt/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + make 1.21 + 1.22 + mkdir -p $PWD/_pkg/usr/bin 1.23 + install -m755 pngcrush $PWD/_pkg/usr/bin/ 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr 1.30 + cp -a $_pkg/usr/bin $fs/usr 1.31 + 1.32 + strip $fs/usr/bin/* 1.33 +} 1.34 +