wok-4.x view optipng/receipt @ rev 9904
edje: fix bdeps (again) (missing 2 how it was building before ?)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 17 13:44:00 2011 +0200 (2011-05-17) |
parents | 99b440c8c069 |
children | 5e7209003c82 |
line source
1 # SliTaz package receipt.
3 PACKAGE="optipng"
4 VERSION="0.6.4"
5 CATEGORY="graphics"
6 SHORT_DESC="A command line tool to compress and optimize PNG images."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libpng zlib"
9 BUILD_DEPENDS="libpng-dev zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://optipng.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="image compression"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src/lib/zlib
19 ./configure &&
20 make &&
21 cd $src/src
22 make -f scripts/gcc.mak
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp -a $src/src/optipng $fs/usr/bin
30 }