wok-4.x diff optipng/receipt @ rev 4733

Add: libmagic, libmagic-dev from File package.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jan 07 11:59:35 2010 +0100 (2010-01-07)
parents
children 6ec17b55b59a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/optipng/receipt	Thu Jan 07 11:59:35 2010 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="optipng"
     1.7 +VERSION="0.6.3"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="A command line tool to compress and optimize PNG images."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="libpng zlib"
    1.12 +BUILD_DEPENDS="libpng-dev zlib-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://optipng.sourceforge.net/"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src/src
    1.21 +	make -f scripts/gcc.mak
    1.22 +}
    1.23 +
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	mkdir -p $fs/usr/bin
    1.28 +	cp -a $src/src/optipng $fs/usr/bin
    1.29 +}