wok annotate pngcrush/receipt @ rev 24391
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 07 18:01:05 2022 +0000 (2022-02-07) |
parents | 51a1ebbda768 |
children | 080c1dff8494 |
rev | line source |
---|---|
mimas@2036 | 1 # SliTaz package receipt. |
mimas@2036 | 2 |
mimas@2036 | 3 PACKAGE="pngcrush" |
al@19128 | 4 VERSION="1.8.1" |
al@19128 | 5 CATEGORY="graphics" |
mimas@2036 | 6 SHORT_DESC="PNG optimizer" |
mimas@2036 | 7 MAINTAINER="mimas@slitaz.org" |
pascal@15375 | 8 LICENSE="zlib/libpng" |
al@19128 | 9 WEB_SITE="https://sourceforge.net/projects/pmt/" |
al@19128 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
mimas@2036 | 11 WGET_URL="$SF_MIRROR/pmt/$TARBALL" |
mimas@2036 | 12 |
al@19128 | 13 DEPENDS="glibc-base" |
al@19128 | 14 |
mimas@2036 | 15 # Rules to configure and make the package. |
mimas@2036 | 16 compile_rules() |
mimas@2036 | 17 { |
mimas@2036 | 18 make |
al@19128 | 19 |
al@19128 | 20 mkdir -p $install/usr/bin |
al@19128 | 21 cp -a $src/pngcrush $install/usr/bin |
mimas@2036 | 22 } |
mimas@2036 | 23 |
mimas@2036 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2036 | 25 genpkg_rules() |
mimas@2036 | 26 { |
al@19128 | 27 cp -a $install/* $fs |
mimas@2036 | 28 } |