wok annotate imagemagick/receipt @ rev 3506
Depends: xorg-libXp
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Fri Jun 19 12:41:39 2009 +0000 (2009-06-19) |
parents | 02500fe4d147 |
children | bc636c3ef99f |
rev | line source |
---|---|
pankso@294 | 1 # SliTaz package receipt. |
pankso@294 | 2 |
pankso@294 | 3 PACKAGE="imagemagick" |
erjo@1352 | 4 VERSION="6.4.3" |
pankso@294 | 5 CATEGORY="graphics" |
pankso@294 | 6 SHORT_DESC="Images manipulation programs." |
pankso@294 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2481 | 8 DEPENDS="xorg jpeg libpng tiff libxml2 freetype libgomp bzlib expat \ |
pascal@2481 | 9 fontconfig" |
pascal@3136 | 10 BUILD_DEPENDS="jpeg-dev libpng-dev tiff-dev libxml2-dev lcms graphviz-dev" |
pankso@294 | 11 SOURCE="ImageMagick" |
pascal@1495 | 12 TARBALL="$SOURCE-$VERSION-10.tar.bz2" |
pankso@294 | 13 WEB_SITE="http://www.imagemagick.org/" |
pankso@294 | 14 WGET_URL="ftp://ftp.imagemagick.org/pub/ImageMagick/$TARBALL" |
pankso@294 | 15 |
pankso@294 | 16 # Rules to configure and make the package. |
pankso@294 | 17 compile_rules() |
pankso@294 | 18 { |
pankso@294 | 19 cd $src |
pankso@294 | 20 ./configure \ |
pankso@294 | 21 --prefix=/usr \ |
pankso@294 | 22 --infodir=/usr/share/info \ |
pankso@294 | 23 --mandir=/usr/share/man \ |
pascal@2311 | 24 --without-perl \ |
pascal@2310 | 25 $CONFIGURE_ARGS && |
pascal@2310 | 26 make && |
pankso@294 | 27 make DESTDIR=$PWD/_pkg install |
pankso@294 | 28 } |
pankso@294 | 29 |
pankso@294 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@294 | 31 genpkg_rules() |
pankso@294 | 32 { |
pankso@294 | 33 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@294 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@294 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@294 | 36 cp -a $_pkg/usr/lib/$SOURCE-$VERSION $fs/usr/lib |
pankso@294 | 37 cp -a $_pkg/usr/share/$SOURCE-$VERSION $fs/usr/share |
pankso@294 | 38 } |
pankso@294 | 39 |