wok-6.x annotate optipng/receipt @ rev 15613
autossh: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 07 19:42:19 2013 +0000 (2013-12-07) |
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 } |