wok-6.x annotate optipng/receipt @ rev 5909
libev-dev: mv /usr/include/event.h to ev-event.h (confict with libevent-dev)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 26 17:19:12 2010 +0200 (2010-07-26) |
parents | 99b440c8c069 |
children | 5e7209003c82 |
rev | line source |
---|---|
pankso@3348 | 1 # SliTaz package receipt. |
pankso@3348 | 2 |
pankso@3348 | 3 PACKAGE="optipng" |
devl547@5526 | 4 VERSION="0.6.4" |
pankso@3348 | 5 CATEGORY="graphics" |
pankso@3348 | 6 SHORT_DESC="A command line tool to compress and optimize PNG images." |
pankso@3348 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@3348 | 8 DEPENDS="libpng zlib" |
pankso@3348 | 9 BUILD_DEPENDS="libpng-dev zlib-dev" |
pankso@3348 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@3348 | 11 WEB_SITE="http://optipng.sourceforge.net/" |
pankso@3348 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4970 | 13 TAGS="image compression" |
pankso@3348 | 14 |
pankso@3348 | 15 # Rules to configure and make the package. |
pankso@3348 | 16 compile_rules() |
pankso@3348 | 17 { |
devl547@5530 | 18 cd $src/lib/zlib |
devl547@5530 | 19 ./configure && |
devl547@5530 | 20 make && |
pankso@3348 | 21 cd $src/src |
pankso@3348 | 22 make -f scripts/gcc.mak |
pankso@3348 | 23 } |
pankso@3348 | 24 |
pankso@3348 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3348 | 26 genpkg_rules() |
pankso@3348 | 27 { |
pankso@3348 | 28 mkdir -p $fs/usr/bin |
pankso@3348 | 29 cp -a $src/src/optipng $fs/usr/bin |
pankso@3348 | 30 } |