wok-4.x view imagemagick/receipt @ rev 12322
get-wfica: update (thanks Carl)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 22 18:22:54 2012 +0200 (2012-08-22) |
parents | 81d4fdb3ef70 |
children | 2ebf213af9e6 |
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 gcc-lib-base jbigkit fftw"
11 BUILD_DEPENDS="jpeg-dev ilmbase-dev openexr-dev libpng-dev tiff-dev \
12 libxml2-dev lcms-dev graphviz-dev fftw-dev util-linux-ng-uuid-dev libcroco-dev \
13 expat-dev libtool"
14 SOURCE="ImageMagick"
15 TARBALL="$SOURCE-$VERSION.tar.xz"
16 WEB_SITE="http://www.imagemagick.org/"
17 WGET_URL="ftp://ftp.imagemagick.org/pub/ImageMagick/$TARBALL"
18 TAGS="image photo toolkit"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 sed -i 's/gzgetc(image/gzgetc((gzFile) image/' magick/blob.c
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 --without-perl \
30 --with-magick-plus-plus \
31 --enable-hdri \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS &&
34 make DESTDIR=$PWD/_pkg install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib $fs/usr/share
41 cp -a $_pkg/usr/bin $fs/usr
42 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
43 cp -a $_pkg/usr/lib/$SOURCE-$SHORT_VERSION $fs/usr/lib
44 cp -a $_pkg/usr/share/$SOURCE-$SHORT_VERSION $fs/usr/share
45 }