wok view pngcrush/receipt @ rev 16634

Up tazpkg (5.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 12 07:54:37 2014 +0000 (2014-05-12)
parents 02bbaa9d12ba
children 73e9a7d984fc
line source
1 # SliTaz package receipt.
3 PACKAGE="pngcrush"
4 VERSION="1.7.10"
5 CATEGORY="utilities"
6 SHORT_DESC="PNG optimizer"
7 MAINTAINER="mimas@slitaz.org"
8 LICENSE="zlib/libpng"
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 $DESTDIR/usr/bin
20 install -m755 pngcrush $DESTDIR/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 $install/usr/bin $fs/usr
28 }