wok view pngquant/receipt @ rev 22388

Up php (7.3.12)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 28 19:07:26 2019 +0100 (2019-11-28)
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 }