wok-next view pngquant/receipt @ rev 21078
Update png and Xorg in dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 04:52:35 2018 +0200 (2018-12-22) |
parents | adb36dd69239 |
children | 9956c9a95aa1 |
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"
17 SPLIT="$PACKAGE-static:static"
19 DEPENDS_std="lcms2 libpng zlib"
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 }