wok annotate optipng/receipt @ rev 16198
Up: pidgin (2.10.9) due to security issues
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Mar 30 21:11:56 2014 +0000 (2014-03-30) |
parents | 5e7209003c82 |
children | c77465c3f3e0 |
rev | line source |
---|---|
pankso@3348 | 1 # SliTaz package receipt. |
pankso@3348 | 2 |
pankso@3348 | 3 PACKAGE="optipng" |
al@14737 | 4 VERSION="0.7.4" |
al@14737 | 5 CATEGORY="utilities" |
pankso@3348 | 6 SHORT_DESC="A command line tool to compress and optimize PNG images." |
pankso@3348 | 7 MAINTAINER="pankso@slitaz.org" |
al@14737 | 8 LICENSE="zlib/libpng" |
al@14737 | 9 WEB_SITE="http://optipng.sourceforge.net/" |
pankso@3348 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@3348 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4970 | 12 TAGS="image compression" |
pankso@3348 | 13 |
al@14737 | 14 DEPENDS="libpng+apng" |
al@14737 | 15 BUILD_DEPENDS="libpng+apng-dev zlib-dev" |
al@14737 | 16 |
pankso@3348 | 17 # Rules to configure and make the package. |
pankso@3348 | 18 compile_rules() |
pankso@3348 | 19 { |
al@14737 | 20 ./configure \ |
al@14737 | 21 -prefix=/usr \ |
al@14737 | 22 -with-system-libpng && |
devl547@5530 | 23 make && |
al@14737 | 24 make test && |
al@14737 | 25 make install |
pankso@3348 | 26 } |
pankso@3348 | 27 |
pankso@3348 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3348 | 29 genpkg_rules() |
pankso@3348 | 30 { |
al@14737 | 31 mkdir -p \ |
al@14737 | 32 $fs/usr/bin \ |
al@14737 | 33 $fs/usr/share/licenses |
al@14737 | 34 cp -a $src/LICENSE.txt $fs/usr/share/licenses/$PACKAGE.txt |
al@14737 | 35 cp -a $install/usr/bin $fs/usr |
pankso@3348 | 36 } |