wok-6.x annotate pngquant/receipt @ rev 22625
updated cyrus-imapd and cyrus-impad-dev (2.4.17 -> 3.0.13)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 12 16:58:49 2020 +0100 (2020-01-12) |
parents | 73e9a7d984fc |
children | 2f82f2467b46 |
rev | line source |
---|---|
al@19128 | 1 # SliTaz package receipt. |
al@19128 | 2 |
al@19128 | 3 PACKAGE="pngquant" |
Hans-G?nter@21688 | 4 VERSION="2.12.3" |
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@21688 | 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 { |
al@19128 | 32 cp -a $install/* $fs |
al@19128 | 33 } |