wok view pngquant/receipt @ rev 19421

Up gpgme-dev (1.6.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 30 19:02:04 2016 +0200 (2016-09-30)
parents
children 27a58646ef66
line source
1 # SliTaz package receipt.
3 PACKAGE="pngquant"
4 VERSION="2.7.0"
5 CATEGORY="graphics"
6 SHORT_DESC="Command-line utility and a library for lossy compression of PNG images"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://pngquant.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/pornel/pngquant/archive/$VERSION.tar.gz"
13 DEPENDS="lcms2 libpng"
14 BUILD_DEPENDS="lcms2-dev libpng-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make && make install
24 find $install -name pngquant.1 -exec gzip -9 \{\} \;
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs
31 }