wok-4.x annotate imagemagick/receipt @ rev 1230

Add psycopg2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 11 06:09:44 2008 +0000 (2008-08-11)
parents
children 490af9e6cbbb
rev   line source
pankso@294 1 # SliTaz package receipt.
pankso@294 2
pankso@294 3 PACKAGE="imagemagick"
pankso@294 4 VERSION="6.3.9"
pankso@294 5 CATEGORY="graphics"
pankso@294 6 SHORT_DESC="Images manipulation programs."
pankso@294 7 MAINTAINER="pankso@slitaz.org"
pankso@294 8 DEPENDS="xorg jpeg libpng tiff libxml2 freetype"
pankso@294 9 BUILD_DEPENDS="jpeg-dev libpng-dev tiff-dev libxml2-dev"
pankso@294 10 SOURCE="ImageMagick"
pankso@294 11 TARBALL="$SOURCE-$VERSION-0.tar.bz2"
pankso@294 12 WEB_SITE="http://www.imagemagick.org/"
pankso@294 13 WGET_URL="ftp://ftp.imagemagick.org/pub/ImageMagick/$TARBALL"
pankso@294 14
pankso@294 15 # Rules to configure and make the package.
pankso@294 16 compile_rules()
pankso@294 17 {
pankso@294 18 cd $src
pankso@294 19 ./configure \
pankso@294 20 --prefix=/usr \
pankso@294 21 --infodir=/usr/share/info \
pankso@294 22 --mandir=/usr/share/man \
pankso@294 23 --without-perl
pankso@294 24 $CONFIGURE_ARGS
pankso@294 25 make
pankso@294 26 make DESTDIR=$PWD/_pkg install
pankso@294 27 }
pankso@294 28
pankso@294 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@294 30 genpkg_rules()
pankso@294 31 {
pankso@294 32 mkdir -p $fs/usr/lib $fs/usr/share
pankso@294 33 cp -a $_pkg/usr/bin $fs/usr
pankso@294 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@294 35 cp -a $_pkg/usr/lib/$SOURCE-$VERSION $fs/usr/lib
pankso@294 36 cp -a $_pkg/usr/share/$SOURCE-$VERSION $fs/usr/share
pankso@294 37 }
pankso@294 38