wok-next view optipng/receipt @ rev 19607

Up: advancecomp, cmake, curl, docbook-xml*, docbook-xsl*, glib, gtk-doc, itstool, jpeg-turbo, lcms2, lemon, libarchive, libcroco, libcurl, libffi, libgcrypt, libgio, libgpg-error, libidn, libjpeg-turbo, libpng+apng, libpng, libsqlite, libxslt, lz4, lz5, lzham_codec, lzo, lzop, nasm, nettle, optipng, pngquant, sqlite, tiff.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Feb 03 12:13:00 2017 +0200 (2017-02-03)
parents 42380dbaadb7
children 18b7cffacced
line source
1 # SliTaz package receipt.
3 PACKAGE="optipng"
4 VERSION="0.7.6"
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 TAGS="image compression"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="libpng+apng"
16 BUILD_DEPENDS="libpng+apng-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's|prefix)/man|prefix)/share/man|' configure
23 ./configure \
24 -prefix=/usr \
25 -with-system-libpng &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cook_copy_files optipng
34 }