wok view imagemagick/receipt @ rev 12772

busybox: enable arm build
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 13 03:26:02 2012 +0200 (2012-05-13)
parents 8f9f4f83244e
children 9d7fe0a5c2a8
line source
1 # SliTaz package receipt.
3 PACKAGE="imagemagick"
4 VERSION="6.7.6-7"
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-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 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 --without-perl \
29 --with-magick-plus-plus \
30 --enable-hdri \
31 $CONFIGURE_ARGS &&
32 make $MAKEFLAGS &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib $fs/usr/share
40 cp -a $_pkg/usr/bin $fs/usr
41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
42 cp -a $_pkg/usr/lib/$SOURCE-$SHORT_VERSION $fs/usr/lib
43 cp -a $_pkg/usr/share/$SOURCE-$SHORT_VERSION $fs/usr/share
44 }