wok-current view imagemagick/receipt @ rev 3135
imagemagick: update build_depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 20 18:09:45 2009 +0200 (2009-05-20) |
parents | d4b11bc7b0e1 |
children | 90c782194571 |
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"
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 }