wok-next annotate optipng/receipt @ rev 18693

slitaz-icons-faenza: rename applications-science into applications-education (thanks llev)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Dec 13 22:37:22 2015 +0200 (2015-12-13)
parents 1ce2e857978b
children 42380dbaadb7
rev   line source
pankso@3348 1 # SliTaz package receipt.
pankso@3348 2
pankso@3348 3 PACKAGE="optipng"
devl547@17576 4 VERSION="0.7.5"
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/"
pankso@3348 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@3348 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4970 12 TAGS="image compression"
pankso@3348 13
al@14737 14 DEPENDS="libpng+apng"
al@14737 15 BUILD_DEPENDS="libpng+apng-dev zlib-dev"
al@14737 16
pankso@3348 17 # Rules to configure and make the package.
pankso@3348 18 compile_rules()
pankso@3348 19 {
al@14737 20 ./configure \
al@14737 21 -prefix=/usr \
al@14737 22 -with-system-libpng &&
devl547@5530 23 make &&
al@14737 24 make test &&
al@14737 25 make install
pankso@3348 26 }
pankso@3348 27
pankso@3348 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3348 29 genpkg_rules()
pankso@3348 30 {
al@14737 31 mkdir -p \
al@14737 32 $fs/usr/bin \
al@14737 33 $fs/usr/share/licenses
al@14737 34 cp -a $src/LICENSE.txt $fs/usr/share/licenses/$PACKAGE.txt
al@14737 35 cp -a $install/usr/bin $fs/usr
pankso@3348 36 }