wok-next view optipng/receipt @ rev 17759

hsetroot, wbar: link with libX11
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 10 08:31:24 2015 +0100 (2015-03-10)
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 }