wok-next view imagemagick6/receipt @ rev 21634
updated exiftool (11.17 -> 12.01)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 10:45:57 2020 +0100 (2020-06-26) |
parents | 82b613cfd1e0 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="imagemagick6"
4 VERSION="6.9.9-9"
5 CATEGORY="graphics"
6 SHORT_DESC="ImageMagick (v.6) - convert, edit, and compose images"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://www.imagemagick.org/script/index.php"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/imagemagick6.html"
12 TARBALL="ImageMagick-$VERSION.tar.xz"
13 #WGET_URL="https://www.imagemagick.org/download/releases/$TARBALL" # not available here now
14 WGET_URL="ftp://ftp.osuosl.org/pub/blfs/conglomeration/ImageMagick/$TARBALL"
16 COOKOPTS="force-arch" # different .h
18 BUILD_DEPENDS="bzip2-dev libx11-dev libice-dev libxext-dev \
19 libxt-dev zlib-dev libtool fftw-dev fontconfig-dev freetype-dev \
20 libjpeg-turbo-dev lcms2-dev xz-dev pango-dev libpng-dev tiff-dev \
21 libxml2-dev librsvg-dev perl-dev util-linux-uuid-dev jasper-dev ilmbase-dev \
22 openexr-dev libgsf-dev" # graphviz-dev
23 SPLIT="$PACKAGE-dev"
25 compile_rules() {
26 ./configure \
27 --enable-hdri \
28 --with-modules \
29 --disable-static \
30 $CONFIGURE_ARGS &&
31 fix libtool &&
32 make $MAKEFLAGS &&
33 make DESTDIR=$install install-libs-only
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 imagemagick6)
39 copy @std
41 # CVE-2016-3714 work around v5
42 sed -i '/<policymap>/r/dev/stdin' $fs/etc/ImageMagick-6/policy.xml <<EOT
43 <policy domain="coder" rights="none" pattern="EPHEMERAL" />
44 <policy domain="coder" rights="none" pattern="URL" />
45 <policy domain="coder" rights="none" pattern="HTTPS" />
46 <policy domain="coder" rights="none" pattern="MVG" />
47 <policy domain="coder" rights="none" pattern="MSL" />
48 <policy domain="coder" rights="none" pattern="TEXT" />
49 <policy domain="coder" rights="none" pattern="SHOW" />
50 <policy domain="coder" rights="none" pattern="WIN" />
51 <policy domain="coder" rights="none" pattern="PLT" />
52 EOT
53 DEPENDS="libbzip2 libcairo fftw fontconfig freetype glib liblcms2 libgomp \
54 libjpeg-turbo libltdl liblzma libpng libxml2 openexr pango libtiff \
55 libx11 libxext zlib"
56 TAGS="image photo toolkit"
57 ;;
58 *-dev)
59 copy @dev
60 DEPENDS="imagemagick6 \
61 bzip2-dev fftw-dev fontconfig-dev freetype-dev lcms2-dev libgomp \
62 libltdl libice-dev libsm-dev libx11-dev \
63 libxext-dev libxt-dev xz-dev zlib-dev"
64 ;;
65 esac
66 }