wok-current view imagemagick/receipt @ rev 2196
busybox-pam: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 09 12:45:16 2009 +0000 (2009-02-09) |
parents | 490af9e6cbbb |
children | cb50a8efd56b |
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"
9 BUILD_DEPENDS="jpeg-dev libpng-dev tiff-dev libxml2-dev"
10 SOURCE="ImageMagick"
11 TARBALL="$SOURCE-$VERSION-10.tar.bz2"
12 WEB_SITE="http://www.imagemagick.org/"
13 WGET_URL="ftp://ftp.imagemagick.org/pub/ImageMagick/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --without-perl
24 $CONFIGURE_ARGS
25 make
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/$SOURCE-$VERSION $fs/usr/lib
36 cp -a $_pkg/usr/share/$SOURCE-$VERSION $fs/usr/share
37 }