wok-current view pngquant/receipt @ rev 20399
Add code2 (speech codec 0.7-3.2 Kb/s)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 27 16:09:41 2018 +0200 (2018-06-27) |
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 }