wok-current view imagemagick/receipt @ rev 6597
Up: sip, sip-dev to 4.11.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 09 15:28:07 2010 +0000 (2010-10-09) |
parents | b46d3a514781 |
children | 3007d05ccc3a |
line source
1 # SliTaz package receipt.
3 PACKAGE="imagemagick"
4 VERSION="6.6.4-9"
5 SHORT_VERSION="${VERSION%-*}"
6 CATEGORY="graphics"
7 SHORT_DESC="Images manipulation programs."
8 MAINTAINER="pankso@slitaz.org"
9 DEPENDS="xorg jpeg libpng tiff libxml2 freetype libgomp bzlib expat \
10 fontconfig lcms jasper graphviz librsvg libgsf libgio cairo gcc-lib-base jbigkit"
11 BUILD_DEPENDS="jpeg jpeg-dev libpng libpng-dev tiff tiff-dev libxml2-dev lcms graphviz-dev jbigkit"
12 SOURCE="ImageMagick"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WEB_SITE="http://www.imagemagick.org/"
15 WGET_URL="ftp://ftp.imagemagick.org/pub/ImageMagick/$TARBALL"
16 TAGS="image photo toolkit"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --without-perl \
27 $CONFIGURE_ARGS &&
28 make -j 4 &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 cp -a $_pkg/usr/lib/$SOURCE-$SHORT_VERSION $fs/usr/lib
39 cp -a $_pkg/usr/share/$SOURCE-$SHORT_VERSION $fs/usr/share
40 }