wok view pngrewrite/receipt @ rev 20149

Add tmate
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 30 17:48:13 2017 +0100 (2017-11-30)
parents
children 453c249b6219
line source
1 # SliTaz package receipt.
3 PACKAGE="pngrewrite"
4 VERSION="1.4.0"
5 CATEGORY="graphics"
6 SHORT_DESC="Utility to reduce unnecessarily large palettes and bit depths in PNG image files"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="zlib/libpng"
9 WEB_SITE="http://entropymine.com/jason/pngrewrite/"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS="libpng"
14 BUILD_DEPENDS="libpng-dev zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 make
21 mkdir -p $install/usr/bin
22 cp -a $src/pngrewrite $install/usr/bin
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/* $fs
29 }