wok-next view pngquant/receipt @ rev 21607
updated duviz (09032015 -> 1.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 09:45:57 2020 +0100 (2020-06-25) |
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 }