wok annotate imagemagick/receipt @ rev 11112
guile: Clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 04:00:13 2011 +0000 (2011-10-17) |
parents | fa1317b9ca51 |
children | 942e8717e236 |
rev | line source |
---|---|
pankso@294 | 1 # SliTaz package receipt. |
pankso@294 | 2 |
pankso@294 | 3 PACKAGE="imagemagick" |
devl547@10894 | 4 VERSION="6.7.0-10" |
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@10564 | 12 libxml2-dev lcms-dev graphviz-dev fftw-dev util-linux-ng-uuid-dev" |
pankso@294 | 13 SOURCE="ImageMagick" |
slaxemulator@7348 | 14 TARBALL="$SOURCE-$VERSION.tar.xz" |
pankso@294 | 15 WEB_SITE="http://www.imagemagick.org/" |
pankso@294 | 16 WGET_URL="ftp://ftp.imagemagick.org/pub/ImageMagick/$TARBALL" |
jozee@4938 | 17 TAGS="image photo toolkit" |
pankso@294 | 18 |
pankso@294 | 19 # Rules to configure and make the package. |
pankso@294 | 20 compile_rules() |
pankso@294 | 21 { |
pankso@294 | 22 cd $src |
pankso@294 | 23 ./configure \ |
pankso@294 | 24 --prefix=/usr \ |
pankso@294 | 25 --infodir=/usr/share/info \ |
pankso@294 | 26 --mandir=/usr/share/man \ |
pascal@2311 | 27 --without-perl \ |
devl547@10894 | 28 --with-magick-plus-plus \ |
devl547@10893 | 29 --enable-hdri \ |
pascal@2310 | 30 $CONFIGURE_ARGS && |
slaxemulator@6323 | 31 make -j 4 && |
pankso@294 | 32 make DESTDIR=$PWD/_pkg install |
pankso@294 | 33 } |
pankso@294 | 34 |
pankso@294 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@294 | 36 genpkg_rules() |
pankso@294 | 37 { |
pankso@294 | 38 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@294 | 39 cp -a $_pkg/usr/bin $fs/usr |
pankso@294 | 40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
mallory@4012 | 41 cp -a $_pkg/usr/lib/$SOURCE-$SHORT_VERSION $fs/usr/lib |
mallory@4012 | 42 cp -a $_pkg/usr/share/$SOURCE-$SHORT_VERSION $fs/usr/share |
pankso@294 | 43 } |
pankso@294 | 44 |