wok view imagemagick/receipt @ rev 769

Add tcc (Tiny C Compiler)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 11 11:36:09 2008 +0000 (2008-05-11)
parents
children 490af9e6cbbb
line source
1 # SliTaz package receipt.
3 PACKAGE="imagemagick"
4 VERSION="6.3.9"
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-0.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 }