wok-stable diff pngcrush/receipt @ rev 5195

slitaz-doc: fix version for 3.0
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 17:16:33 2010 +0200 (2010-03-28)
parents
children 96a620abf70f
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pngcrush/receipt	Sun Mar 28 17:16:33 2010 +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 +