wok-next annotate 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
rev   line source
pankso@3348 1 # SliTaz package receipt.
pankso@3348 2
pankso@3348 3 PACKAGE="optipng"
al@19607 4 VERSION="0.7.6"
al@14737 5 CATEGORY="utilities"
pankso@3348 6 SHORT_DESC="A command line tool to compress and optimize PNG images."
pankso@3348 7 MAINTAINER="pankso@slitaz.org"
al@14737 8 LICENSE="zlib/libpng"
al@14737 9 WEB_SITE="http://optipng.sourceforge.net/"
al@19607 10 TAGS="image compression"
al@19607 11
pankso@3348 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@3348 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@3348 14
al@14737 15 DEPENDS="libpng+apng"
al@14737 16 BUILD_DEPENDS="libpng+apng-dev zlib-dev"
al@14737 17
pankso@3348 18 # Rules to configure and make the package.
pankso@3348 19 compile_rules()
pankso@3348 20 {
pascal@19293 21 sed -i 's|prefix)/man|prefix)/share/man|' configure
al@19607 22
al@14737 23 ./configure \
al@14737 24 -prefix=/usr \
al@14737 25 -with-system-libpng &&
devl547@5530 26 make &&
al@14737 27 make install
pankso@3348 28 }
pankso@3348 29
pankso@3348 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3348 31 genpkg_rules()
pankso@3348 32 {
al@19607 33 cook_copy_files optipng
pankso@3348 34 }