wok-6.x view optipng/receipt @ rev 17786

Up: libevent 2.0.22
author Alexander Medvedev <devl547@gmail.com>
date Sat Mar 14 21:45:49 2015 +0000 (2015-03-14)
parents 1ce2e857978b
children 42380dbaadb7
line source
1 # SliTaz package receipt.
3 PACKAGE="optipng"
4 VERSION="0.7.5"
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 }