wok-6.x view imagemagick/receipt @ rev 4515
Up:hplip; improve receipt
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu Nov 26 12:08:28 2009 +0000 (2009-11-26) |
parents | 700f84fe485b |
children | faa4c6e9600b |
line source
1 # SliTaz package receipt.
3 PACKAGE="imagemagick"
4 VERSION="6.5.5-6"
5 SHORT_VERSION="6.5.5"
6 CATEGORY="graphics"
7 SHORT_DESC="Images manipulation programs."
8 MAINTAINER="pankso@slitaz.org"
9 DEPENDS="xorg jpeg libpng tiff libxml2 freetype libgomp bzlib expat \
10 fontconfig lcms"
11 BUILD_DEPENDS="jpeg-dev libpng-dev tiff-dev libxml2-dev lcms graphviz-dev"
12 SOURCE="ImageMagick"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WEB_SITE="http://www.imagemagick.org/"
15 WGET_URL="ftp://ftp.imagemagick.org/pub/ImageMagick/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --without-perl \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/$SOURCE-$SHORT_VERSION $fs/usr/lib
38 cp -a $_pkg/usr/share/$SOURCE-$SHORT_VERSION $fs/usr/share
39 }