wok annotate imagemagick/receipt @ rev 23589
updated pyvim (0.0.13 -> 2.0.24)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 07 14:49:59 2020 +0100 (2020-04-07) |
parents | 333648262dc5 |
children | 83b97236db32 |
rev | line source |
---|---|
pankso@294 | 1 # SliTaz package receipt. |
pankso@294 | 2 |
pankso@294 | 3 PACKAGE="imagemagick" |
Hans-G?nter@22946 | 4 VERSION="7.0.9.26" |
Hans-G?nter@21044 | 5 SHORT_VERSION="${VERSION%.*}" |
pankso@294 | 6 CATEGORY="graphics" |
Hans-G?nter@21044 | 7 TAGS="image photo toolkit" |
pankso@294 | 8 SHORT_DESC="Images manipulation programs." |
pankso@294 | 9 MAINTAINER="pankso@slitaz.org" |
pascal@15600 | 10 LICENSE="Apache" |
Hans-G?nter@21044 | 11 WEB_SITE="https://www.imagemagick.org/" |
Hans-G?nter@21044 | 12 |
pankso@294 | 13 SOURCE="ImageMagick" |
Hans-G?nter@22946 | 14 TARBALL="$SOURCE-${VERSION%.*}-${VERSION##*.}.tar.xz" |
Hans-G?nter@21044 | 15 WGET_URL="${WEB_SITE}download/releases/$TARBALL" |
pankso@294 | 16 |
Hans-G?nter@22946 | 17 DEPENDS="bzlib cairo expat fftw fontconfig freetype gcc-lib-base |
Hans-G?nter@22946 | 18 graphviz ilmbase jasper jbigkit jpeg lcms libcroco libgio |
Hans-G?nter@22946 | 19 libgomp libgsf libltdl libpng librsvg libxml2 openexr |
pascal@22427 | 20 pango tiff xorg-libXext" |
Hans-G?nter@21044 | 21 BUILD_DEPENDS="bzip2-dev cairo-dev expat-dev fftw-dev fontconfig-dev \ |
Hans-G?nter@21044 | 22 freetype-dev graphviz-dev ilmbase-dev jasper-dev jpeg-dev \ |
Hans-G?nter@21044 | 23 lcms-dev libcroco-dev libgio-dev libgsf-dev libpng-dev \ |
Hans-G?nter@21044 | 24 librsvg-dev libtool libxml2-dev openexr-dev pango-dev perl \ |
pascal@22427 | 25 tiff-dev util-linux-uuid-dev xorg-libXext-dev" |
pascal@14393 | 26 |
pankso@294 | 27 # Rules to configure and make the package. |
pankso@294 | 28 compile_rules() |
pankso@294 | 29 { |
Hans-G?nter@21044 | 30 ./configure \ |
Hans-G?nter@21044 | 31 --prefix=/usr \ |
Hans-G?nter@21044 | 32 --infodir=/usr/share/info \ |
Hans-G?nter@21044 | 33 --mandir=/usr/share/man \ |
Hans-G?nter@21044 | 34 --sysconfdir=/etc \ |
Hans-G?nter@21044 | 35 --with-magick-plus-plus \ |
Hans-G?nter@21044 | 36 --with-modules \ |
Hans-G?nter@21044 | 37 --with-perl \ |
Hans-G?nter@21044 | 38 --enable-hdri \ |
pascal@2310 | 39 $CONFIGURE_ARGS && |
Hans-G?nter@22946 | 40 make $MAKEFLAGS && |
pascal@12623 | 41 make DESTDIR=$DESTDIR install |
pankso@294 | 42 } |
pankso@294 | 43 |
pankso@294 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@294 | 45 genpkg_rules() |
pankso@294 | 46 { |
Hans-G?nter@21044 | 47 mkdir -p $fs/usr/lib |
Hans-G?nter@21044 | 48 mkdir -p $fs/usr/share |
Hans-G?nter@21044 | 49 |
Hans-G?nter@21044 | 50 cp -a $install/etc $fs |
Hans-G?nter@21044 | 51 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21044 | 52 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21044 | 53 cp -a $install/usr/lib/$SOURCE-$SHORT_VERSION $fs/usr/lib |
Hans-G?nter@21044 | 54 cp -a $install/usr/share/$SOURCE-* $fs/usr/share |
pascal@19107 | 55 |
pascal@19107 | 56 # CVE-2016-3714 work around v5 |
Hans-G?nter@21044 | 57 sed -i '/<policymap>/r/dev/stdin' $fs/etc/ImageMagick-7/policy.xml <<EOT |
pascal@19107 | 58 <policy domain="coder" rights="none" pattern="EPHEMERAL" /> |
pascal@19107 | 59 <policy domain="coder" rights="none" pattern="URL" /> |
pascal@19107 | 60 <policy domain="coder" rights="none" pattern="HTTPS" /> |
pascal@19107 | 61 <policy domain="coder" rights="none" pattern="MVG" /> |
pascal@19107 | 62 <policy domain="coder" rights="none" pattern="MSL" /> |
pascal@19107 | 63 <policy domain="coder" rights="none" pattern="TEXT" /> |
pascal@19107 | 64 <policy domain="coder" rights="none" pattern="SHOW" /> |
pascal@19107 | 65 <policy domain="coder" rights="none" pattern="WIN" /> |
pascal@19107 | 66 <policy domain="coder" rights="none" pattern="PLT" /> |
pascal@19107 | 67 EOT |
pankso@294 | 68 } |