wok-stable annotate optipng/receipt @ rev 4282

cdrdao: fix build with gcc-4.x
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 26 10:31:52 2009 +0200 (2009-09-26)
parents
children 6ec17b55b59a
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"
pankso@3348 13
pankso@3348 14 # Rules to configure and make the package.
pankso@3348 15 compile_rules()
pankso@3348 16 {
pankso@3348 17 cd $src/src
pankso@3348 18 make -f scripts/gcc.mak
pankso@3348 19 }
pankso@3348 20
pankso@3348 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3348 22 genpkg_rules()
pankso@3348 23 {
pankso@3348 24 mkdir -p $fs/usr/bin
pankso@3348 25 cp -a $src/src/optipng $fs/usr/bin
pankso@3348 26 }