wok-current rev 2036

Add: pngcrush (1.6.13)
author Fabrice THIROUX <mimas@slitaz.org>
date Sat Jan 10 20:35:13 2009 +0100 (2009-01-10)
parents a9ccb18e971d
children 30259d811e2b
files pngcrush/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pngcrush/receipt	Sat Jan 10 20:35:13 2009 +0100
     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 +