wok-6.x annotate imagemagick/receipt @ rev 12647
imagemagick: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 29 23:32:05 2012 +0200 (2012-04-29) |
parents | a92de64c34e2 |
children | 15a9e09ad128 |
rev | line source |
---|---|
pankso@294 | 1 # SliTaz package receipt. |
pankso@294 | 2 |
pankso@294 | 3 PACKAGE="imagemagick" |
pascal@12623 | 4 VERSION="6.7.6-7" |
pascal@6413 | 5 SHORT_VERSION="${VERSION%-*}" |
pankso@294 | 6 CATEGORY="graphics" |
pankso@294 | 7 SHORT_DESC="Images manipulation programs." |
pankso@294 | 8 MAINTAINER="pankso@slitaz.org" |
slaxemulator@8425 | 9 DEPENDS="xorg-libXext jpeg libpng tiff libxml2 freetype libgomp bzlib expat \ |
slaxemulator@7584 | 10 fontconfig lcms jasper ilmbase openexr graphviz librsvg libgsf libgio cairo gcc-lib-base jbigkit fftw" |
pascal@10564 | 11 BUILD_DEPENDS="jpeg-dev ilmbase-dev openexr-dev libpng-dev tiff-dev \ |
pascal@12647 | 12 libxml2-dev lcms-dev graphviz-dev fftw-dev util-linux-uuid-dev libcroco-dev \ |
pascal@12647 | 13 expat-dev" |
pankso@294 | 14 SOURCE="ImageMagick" |
slaxemulator@7348 | 15 TARBALL="$SOURCE-$VERSION.tar.xz" |
pankso@294 | 16 WEB_SITE="http://www.imagemagick.org/" |
pankso@294 | 17 WGET_URL="ftp://ftp.imagemagick.org/pub/ImageMagick/$TARBALL" |
jozee@4938 | 18 TAGS="image photo toolkit" |
pankso@294 | 19 |
pankso@294 | 20 # Rules to configure and make the package. |
pankso@294 | 21 compile_rules() |
pankso@294 | 22 { |
pankso@294 | 23 cd $src |
pankso@294 | 24 ./configure \ |
pankso@294 | 25 --prefix=/usr \ |
pankso@294 | 26 --infodir=/usr/share/info \ |
pankso@294 | 27 --mandir=/usr/share/man \ |
pascal@2311 | 28 --without-perl \ |
devl547@10894 | 29 --with-magick-plus-plus \ |
devl547@10893 | 30 --enable-hdri \ |
pascal@2310 | 31 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 32 make $MAKEFLAGS && |
pascal@12623 | 33 make DESTDIR=$DESTDIR install |
pankso@294 | 34 } |
pankso@294 | 35 |
pankso@294 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@294 | 37 genpkg_rules() |
pankso@294 | 38 { |
pankso@294 | 39 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@294 | 40 cp -a $_pkg/usr/bin $fs/usr |
pankso@294 | 41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
mallory@4012 | 42 cp -a $_pkg/usr/lib/$SOURCE-$SHORT_VERSION $fs/usr/lib |
mallory@4012 | 43 cp -a $_pkg/usr/share/$SOURCE-$SHORT_VERSION $fs/usr/share |
pankso@294 | 44 } |
pankso@294 | 45 |