wok view imagemagick/receipt @ rev 3514

mv linuxqq to get-linuxqq (non-free) (genpkg_rules need improvement)
author Rohit Joshi <jozee@slitaz.org>
date Sat Jun 20 00:06:41 2009 +0000 (2009-06-20)
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 }