wok-current view optipng/receipt @ rev 14737

Add: gif2apng, apng2gif, apngasm, apngdis, apngopt, libpng+apng (latest stable libpng 1.6.2); up: optipng (0.7.4).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 14 03:16:29 2013 +0000 (2013-06-14)
parents 5e7209003c82
children c77465c3f3e0
line source
1 # SliTaz package receipt.
3 PACKAGE="optipng"
4 VERSION="0.7.4"
5 CATEGORY="utilities"
6 SHORT_DESC="A command line tool to compress and optimize PNG images."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="zlib/libpng"
9 WEB_SITE="http://optipng.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="image compression"
14 DEPENDS="libpng+apng"
15 BUILD_DEPENDS="libpng+apng-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 -prefix=/usr \
22 -with-system-libpng &&
23 make &&
24 make test &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p \
32 $fs/usr/bin \
33 $fs/usr/share/licenses
34 cp -a $src/LICENSE.txt $fs/usr/share/licenses/$PACKAGE.txt
35 cp -a $install/usr/bin $fs/usr
36 }