wok diff pngrewrite/receipt @ rev 19179

sc-im: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 04 10:10:15 2016 +0200 (2016-06-04)
parents
children 453c249b6219
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pngrewrite/receipt	Sat Jun 04 10:10:15 2016 +0200
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pngrewrite"
     1.7 +VERSION="1.4.0"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="Utility to reduce unnecessarily large palettes and bit depths in PNG image files"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="zlib/libpng"
    1.12 +WEB_SITE="http://entropymine.com/jason/pngrewrite/"
    1.13 +TARBALL="$PACKAGE-$VERSION.zip"
    1.14 +WGET_URL="${WEB_SITE}$TARBALL"
    1.15 +
    1.16 +DEPENDS="libpng"
    1.17 +BUILD_DEPENDS="libpng-dev zlib-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	make
    1.23 +
    1.24 +	mkdir -p $install/usr/bin
    1.25 +	cp -a $src/pngrewrite $install/usr/bin
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	cp -a $install/* $fs
    1.32 +}