wok-4.x view imagemagick/receipt @ rev 3440
Add slitaz-dev-tools (tazdev replace all scripts on tank)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jun 14 02:26:59 2009 +0200 (2009-06-14) |
parents | 02500fe4d147 |
children | bc636c3ef99f |
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 lcms graphviz-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 }