wok-next annotate optipng/receipt @ rev 13751

clamtk: fix genpkg_rules (thanks ernia)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 02 14:23:17 2013 +0100 (2013-01-02)
parents 7e12661d0935
children 1ce2e857978b
rev   line source
pankso@3348 1 # SliTaz package receipt.
pankso@3348 2
pankso@3348 3 PACKAGE="optipng"
slaxemulator@11062 4 VERSION="0.6.5"
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 {
devl547@5530 18 cd $src/lib/zlib
devl547@5530 19 ./configure &&
devl547@5530 20 make &&
pankso@3348 21 cd $src/src
pankso@3348 22 make -f scripts/gcc.mak
pankso@3348 23 }
pankso@3348 24
pankso@3348 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3348 26 genpkg_rules()
pankso@3348 27 {
pankso@3348 28 mkdir -p $fs/usr/bin
pankso@3348 29 cp -a $src/src/optipng $fs/usr/bin
pankso@3348 30 }