wok-next view 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 source
1 # SliTaz package receipt.
3 PACKAGE="pngcrush"
4 VERSION="1.6.13"
5 CATEGORY="utilities"
6 SHORT_DESC="PNG optimizer"
7 MAINTAINER="mimas@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://pmt.sourceforge.net/pngcrush/"
11 WGET_URL="$SF_MIRROR/pmt/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make
19 mkdir -p $PWD/_pkg/usr/bin
20 install -m755 pngcrush $PWD/_pkg/usr/bin/
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
29 strip $fs/usr/bin/*
30 }