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