wok annotate pngquant/receipt @ rev 21114

libaio-dev: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 19 18:47:39 2019 +0100 (2019-03-19)
parents
children 27a58646ef66
rev   line source
al@19128 1 # SliTaz package receipt.
al@19128 2
al@19128 3 PACKAGE="pngquant"
al@19128 4 VERSION="2.7.0"
al@19128 5 CATEGORY="graphics"
al@19128 6 SHORT_DESC="Command-line utility and a library for lossy compression of PNG images"
al@19128 7 MAINTAINER="al.bobylev@gmail.com"
al@19128 8 LICENSE="GPL3"
al@19128 9 WEB_SITE="https://pngquant.org/"
al@19128 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19128 11 WGET_URL="https://github.com/pornel/pngquant/archive/$VERSION.tar.gz"
al@19128 12
al@19128 13 DEPENDS="lcms2 libpng"
al@19128 14 BUILD_DEPENDS="lcms2-dev libpng-dev"
al@19128 15
al@19128 16 # Rules to configure and make the package.
al@19128 17 compile_rules()
al@19128 18 {
al@19128 19 ./configure \
al@19128 20 --prefix=/usr \
al@19128 21 $CONFIGURE_ARGS &&
al@19128 22 make && make install
al@19128 23
al@19128 24 find $install -name pngquant.1 -exec gzip -9 \{\} \;
al@19128 25 }
al@19128 26
al@19128 27 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19128 28 genpkg_rules()
al@19128 29 {
al@19128 30 cp -a $install/* $fs
al@19128 31 }