wok view imagemagick/receipt @ rev 7005

Added glew to glew-dev depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 31 12:17:37 2010 +0000 (2010-10-31)
parents 0da33955214b
children ccc115b6a732
line source
1 # SliTaz package receipt.
3 PACKAGE="imagemagick"
4 VERSION="6.6.4-10"
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-dev libpng-dev tiff-dev libxml2-dev lcms graphviz-dev"
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 }