wok-6.x annotate pngquant/receipt @ rev 23439
updated pngquant (2.12.3 -> 2.12.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 02 09:19:42 2020 +0100 (2020-04-02) |
parents | 27a58646ef66 |
children | ad8b9ff412d2 |
rev | line source |
---|---|
al@19128 | 1 # SliTaz package receipt. |
al@19128 | 2 |
al@19128 | 3 PACKAGE="pngquant" |
Hans-G?nter@23439 | 4 VERSION="2.12.5" |
al@19128 | 5 CATEGORY="graphics" |
Hans-G?nter@21688 | 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/" |
Hans-G?nter@21688 | 10 |
Hans-G?nter@21688 | 11 TARBALL="$PACKAGE-$VERSION-src.tar.gz" |
Hans-G?nter@23439 | 12 WGET_URL="${WEB_SITE}$TARBALL" |
al@19128 | 13 |
al@19128 | 14 DEPENDS="lcms2 libpng" |
al@19128 | 15 BUILD_DEPENDS="lcms2-dev libpng-dev" |
al@19128 | 16 |
al@19128 | 17 # Rules to configure and make the package. |
al@19128 | 18 compile_rules() |
al@19128 | 19 { |
Hans-G?nter@21688 | 20 ./configure \ |
Hans-G?nter@21688 | 21 --prefix=/usr \ |
al@19128 | 22 $CONFIGURE_ARGS && |
Hans-G?nter@21688 | 23 make && |
Hans-G?nter@21688 | 24 make install |
al@19128 | 25 |
al@19128 | 26 find $install -name pngquant.1 -exec gzip -9 \{\} \; |
al@19128 | 27 } |
al@19128 | 28 |
al@19128 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19128 | 30 genpkg_rules() |
al@19128 | 31 { |
Hans-G?nter@23439 | 32 cp -a $install/* $fs |
al@19128 | 33 } |