wok view imagemagick/receipt @ rev 10856
Up: slitaz-configs (4.4) - Last cooking style include and ready for RC
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jun 14 21:12:08 2011 +0200 (2011-06-14) |
parents | 9610097e8d1c |
children | fa1317b9ca51 |
line source
1 # SliTaz package receipt.
3 PACKAGE="imagemagick"
4 VERSION="6.6.8-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 $CONFIGURE_ARGS &&
29 make -j 4 &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib $fs/usr/share
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/lib/$SOURCE-$SHORT_VERSION $fs/usr/lib
40 cp -a $_pkg/usr/share/$SOURCE-$SHORT_VERSION $fs/usr/share
41 }