wok-6.x view pngquant/receipt @ rev 19817
Add missing web_sites
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 02 15:39:34 2017 +0100 (2017-03-02) |
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 }