wok-next annotate optipng/receipt @ rev 19728
Up tcc (20170515)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 25 17:38:43 2017 +0200 (2017-05-25) |
parents | 35a20e111081 |
children | 028634d82da8 |
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@19614 | 15 DEPENDS="libpng" |
al@19614 | 16 BUILD_DEPENDS="libpng-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 } |