wok-stable view imagemagick/receipt @ rev 11475
ardour: rebuild
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Dec 17 19:17:34 2011 +0100 (2011-12-17) |
parents | fa1317b9ca51 |
children | 942e8717e236 |
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"
13 SOURCE="ImageMagick"
14 TARBALL="$SOURCE-$VERSION.tar.xz"
15 WEB_SITE="http://www.imagemagick.org/"
16 WGET_URL="ftp://ftp.imagemagick.org/pub/ImageMagick/$TARBALL"
17 TAGS="image photo toolkit"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 --without-perl \
28 --with-magick-plus-plus \
29 --enable-hdri \
30 $CONFIGURE_ARGS &&
31 make -j 4 &&
32 make DESTDIR=$PWD/_pkg install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib $fs/usr/share
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
41 cp -a $_pkg/usr/lib/$SOURCE-$SHORT_VERSION $fs/usr/lib
42 cp -a $_pkg/usr/share/$SOURCE-$SHORT_VERSION $fs/usr/share
43 }