wok view pngquant/receipt @ rev 19128

Add gnome-alsamixer, pngrewrite, lcms2, pngquant; up pngcrush(1.8.1)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 12 00:24:45 2016 +0300 (2016-05-12)
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 }