wok-stable view imagemagick/receipt @ rev 12458
x11vnc: update X11VNC_OPTIONS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 28 14:33:41 2016 +0100 (2016-12-28) |
parents | 95d1e638c14c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="imagemagick"
4 VERSION="6.7.0-10"
5 SHORT_VERSION="${VERSION%-*}"
6 CATEGORY="graphics"
7 SHORT_DESC="Images manipulation programs."
8 MAINTAINER="pankso@slitaz.org"
9 DEPENDS="xorg-libXext jpeg libpng tiff libxml2 freetype libgomp bzlib expat \
10 fontconfig lcms jasper ilmbase openexr graphviz librsvg libgsf libgio cairo \
11 gcc-lib-base jbigkit fftw libltdl"
12 BUILD_DEPENDS="jpeg-dev ilmbase-dev openexr-dev libpng-dev tiff-dev \
13 libxml2-dev lcms-dev graphviz-dev fftw-dev util-linux-ng-uuid-dev libcroco-dev \
14 expat-dev libtool"
15 SOURCE="ImageMagick"
16 TARBALL="$SOURCE-$VERSION.tar.xz"
17 WEB_SITE="http://www.imagemagick.org/"
18 WGET_URL="ftp://ftp.imagemagick.org/pub/ImageMagick/$TARBALL"
19 TAGS="image photo toolkit"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 sed -i 's/gzgetc(image/gzgetc((gzFile) image/' magick/blob.c
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 --without-perl \
31 --with-magick-plus-plus \
32 --enable-hdri \
33 $CONFIGURE_ARGS &&
34 make $MAKEFLAGS &&
35 make DESTDIR=$PWD/_pkg install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib $fs/usr/share
42 cp -a $_pkg/usr/bin $fs/usr
43 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
44 cp -a $_pkg/usr/lib/$SOURCE-$SHORT_VERSION $fs/usr/lib
45 cp -a $_pkg/usr/share/$SOURCE-$SHORT_VERSION $fs/usr/share
46 }