wok-6.x view pngquant/receipt @ rev 20054

gptfdisk: add man doc files
author Richard Dunbar <mojo@slitaz.org>
date Mon Sep 04 09:59:28 2017 -0400 (2017-09-04)
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 }