wok-next annotate pngrewrite/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents 73e9a7d984fc
children d5aab818505e
rev   line source
al@19128 1 # SliTaz package receipt.
al@19128 2
al@19128 3 PACKAGE="pngrewrite"
al@19128 4 VERSION="1.4.0"
al@19128 5 CATEGORY="graphics"
al@19128 6 SHORT_DESC="Utility to reduce unnecessarily large palettes and bit depths in PNG image files"
al@19128 7 MAINTAINER="al.bobylev@gmail.com"
al@19128 8 LICENSE="zlib/libpng"
al@19128 9 WEB_SITE="http://entropymine.com/jason/pngrewrite/"
al@19128 10 TARBALL="$PACKAGE-$VERSION.zip"
al@19128 11 WGET_URL="${WEB_SITE}$TARBALL"
al@19128 12
al@20454 13 DEPENDS="libpng16"
al@20454 14 BUILD_DEPENDS="libpng16-dev zlib-dev"
al@19128 15
al@19128 16 # Rules to configure and make the package.
al@19128 17 compile_rules()
al@19128 18 {
al@19128 19 make
al@19128 20
al@19128 21 mkdir -p $install/usr/bin
al@19128 22 cp -a $src/pngrewrite $install/usr/bin
al@19128 23 }
al@19128 24
al@19128 25 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19128 26 genpkg_rules()
al@19128 27 {
al@19128 28 cp -a $install/* $fs
al@19128 29 }