wok-next view pngquant/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | 7f6d8049fcec |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pngquant"
4 VERSION="2.12.2"
5 CATEGORY="graphics"
6 SHORT_DESC="Lossy PNG compressor"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://pngquant.org/"
11 # libimagequant added as git submodule, so better to use git instead of
12 # getting 2 tarballs and putting one to another...
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WGET_URL="git|https://github.com/kornelski/pngquant.git"
16 BUILD_DEPENDS="git lcms2-dev libpng-dev zlib-dev zlib-static"
17 SPLIT="$PACKAGE-static:static"
19 DEPENDS_std="liblcms2 libpng"
20 DEPENDS_static=" "
22 COPY_static="@std"
23 CAT_static="graphics|static binary"
24 PROVIDE_static="pngquant"
26 compile_rules() {
27 git checkout tags/$VERSION
29 case $SET in
30 static)
31 ./configure \
32 --prefix=/usr \
33 LDFLAGS='-static -pthread' \
34 --with-openmp=static
35 ;;
36 *)
37 ./configure \
38 --prefix=/usr
39 ;;
40 esac &&
42 make &&
43 make install
44 }