wok-current view optipng/receipt @ rev 3728

Add gocr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 22 10:08:24 2009 +0200 (2009-07-22)
parents
children 6ec17b55b59a
line source
1 # SliTaz package receipt.
3 PACKAGE="optipng"
4 VERSION="0.6.3"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src/src
18 make -f scripts/gcc.mak
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/bin
25 cp -a $src/src/optipng $fs/usr/bin
26 }