wok-current view pngquant/receipt @ rev 22913

lingnutls: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 24 11:32:12 2020 +0100 (2020-02-24)
parents 73e9a7d984fc
children 2f82f2467b46
line source
1 # SliTaz package receipt.
3 PACKAGE="pngquant"
4 VERSION="2.12.3"
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/"
11 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
12 WGET_URL="${WEB_SITE}/$TARBALL"
14 DEPENDS="lcms2 libpng"
15 BUILD_DEPENDS="lcms2-dev libpng-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make install
26 find $install -name pngquant.1 -exec gzip -9 \{\} \;
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }