wok annotate pngrewrite/receipt @ rev 20150
Up gnu-efi (3.0.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 03 14:39:40 2017 +0100 (2017-12-03) |
parents | |
children | 453c249b6219 |
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@19128 | 13 DEPENDS="libpng" |
al@19128 | 14 BUILD_DEPENDS="libpng-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 } |