wok-6.x annotate optipng/receipt @ rev 24252

updated perl-soap-lite (0.710.08 -> 1.27)
author Hans-G?nter Theisgen
date Sun Jan 02 09:51:29 2022 +0100 (2022-01-02)
parents 42380dbaadb7
children 080c1dff8494
rev   line source
pankso@3348 1 # SliTaz package receipt.
pankso@3348 2
pankso@3348 3 PACKAGE="optipng"
Hans-G?nter@23266 4 VERSION="0.7.7"
al@14737 5 CATEGORY="utilities"
Hans-G?nter@23266 6 TAGS="image compression"
pankso@3348 7 SHORT_DESC="A command line tool to compress and optimize PNG images."
pankso@3348 8 MAINTAINER="pankso@slitaz.org"
al@14737 9 LICENSE="zlib/libpng"
al@14737 10 WEB_SITE="http://optipng.sourceforge.net/"
Hans-G?nter@23266 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
Hans-G?nter@23266 22
Hans-G?nter@23266 23 ./configure \
Hans-G?nter@23266 24 -prefix=/usr \
al@14737 25 -with-system-libpng &&
devl547@5530 26 make &&
al@14737 27 make test &&
al@14737 28 make install
pankso@3348 29 }
pankso@3348 30
pankso@3348 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3348 32 genpkg_rules()
pankso@3348 33 {
Hans-G?nter@23266 34 mkdir -p $fs/usr/bin
Hans-G?nter@23266 35 mkdir -p $fs/usr/share/licenses
Hans-G?nter@23266 36
Hans-G?nter@23266 37 cp -a $src/LICENSE.txt $fs/usr/share/licenses/$PACKAGE.txt
Hans-G?nter@23266 38 cp -a $install/usr/bin $fs/usr
pankso@3348 39 }