wok view optipng/receipt @ rev 16905

Add pangox-compat
author Yuri Pourre <yuripourre@gmail.com>
date Tue Jul 15 19:21:23 2014 -0300 (2014-07-15)
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 }