wok annotate optipng/receipt @ rev 4970
add/improve TAGS o* receipts
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Feb 24 11:10:57 2010 +0000 (2010-02-24) |
parents | 85e18d3ff487 |
children | 99b440c8c069 |
rev | line source |
---|---|
pankso@3348 | 1 # SliTaz package receipt. |
pankso@3348 | 2 |
pankso@3348 | 3 PACKAGE="optipng" |
pankso@3348 | 4 VERSION="0.6.3" |
pankso@3348 | 5 CATEGORY="graphics" |
pankso@3348 | 6 SHORT_DESC="A command line tool to compress and optimize PNG images." |
pankso@3348 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@3348 | 8 DEPENDS="libpng zlib" |
pankso@3348 | 9 BUILD_DEPENDS="libpng-dev zlib-dev" |
pankso@3348 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@3348 | 11 WEB_SITE="http://optipng.sourceforge.net/" |
pankso@3348 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4970 | 13 TAGS="image compression" |
pankso@3348 | 14 |
pankso@3348 | 15 # Rules to configure and make the package. |
pankso@3348 | 16 compile_rules() |
pankso@3348 | 17 { |
pankso@3348 | 18 cd $src/src |
pankso@3348 | 19 make -f scripts/gcc.mak |
pankso@3348 | 20 } |
pankso@3348 | 21 |
pankso@3348 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3348 | 23 genpkg_rules() |
pankso@3348 | 24 { |
pankso@3348 | 25 mkdir -p $fs/usr/bin |
pankso@3348 | 26 cp -a $src/src/optipng $fs/usr/bin |
pankso@3348 | 27 } |