wok-current view imagemagick/receipt @ rev 2906

Add cdf
author Paul Issott <paul@slitaz.org>
date Wed May 06 17:05:50 2009 +0000 (2009-05-06)
parents 57c5cac622c6
children 02500fe4d147
line source
1 # SliTaz package receipt.
3 PACKAGE="imagemagick"
4 VERSION="6.4.3"
5 CATEGORY="graphics"
6 SHORT_DESC="Images manipulation programs."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg jpeg libpng tiff libxml2 freetype libgomp bzlib expat \
9 fontconfig"
10 BUILD_DEPENDS="jpeg-dev libpng-dev tiff-dev libxml2-dev"
11 SOURCE="ImageMagick"
12 TARBALL="$SOURCE-$VERSION-10.tar.bz2"
13 WEB_SITE="http://www.imagemagick.org/"
14 WGET_URL="ftp://ftp.imagemagick.org/pub/ImageMagick/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --without-perl \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/$SOURCE-$VERSION $fs/usr/lib
37 cp -a $_pkg/usr/share/$SOURCE-$VERSION $fs/usr/share
38 }