wok annotate imagemagick/receipt @ rev 7005
Added glew to glew-dev depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 31 12:17:37 2010 +0000 (2010-10-31) |
parents | 0da33955214b |
children | ccc115b6a732 |
rev | line source |
---|---|
pankso@294 | 1 # SliTaz package receipt. |
pankso@294 | 2 |
pankso@294 | 3 PACKAGE="imagemagick" |
slaxemulator@6624 | 4 VERSION="6.6.4-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" |
pascal@2481 | 9 DEPENDS="xorg jpeg libpng tiff libxml2 freetype libgomp bzlib expat \ |
slaxemulator@6537 | 10 fontconfig lcms jasper graphviz librsvg libgsf libgio cairo gcc-lib-base jbigkit" |
slaxemulator@6624 | 11 BUILD_DEPENDS="jpeg-dev libpng-dev tiff-dev libxml2-dev lcms graphviz-dev" |
pankso@294 | 12 SOURCE="ImageMagick" |
pankso@3707 | 13 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@294 | 14 WEB_SITE="http://www.imagemagick.org/" |
pankso@294 | 15 WGET_URL="ftp://ftp.imagemagick.org/pub/ImageMagick/$TARBALL" |
jozee@4938 | 16 TAGS="image photo toolkit" |
pankso@294 | 17 |
pankso@294 | 18 # Rules to configure and make the package. |
pankso@294 | 19 compile_rules() |
pankso@294 | 20 { |
pankso@294 | 21 cd $src |
pankso@294 | 22 ./configure \ |
pankso@294 | 23 --prefix=/usr \ |
pankso@294 | 24 --infodir=/usr/share/info \ |
pankso@294 | 25 --mandir=/usr/share/man \ |
pascal@2311 | 26 --without-perl \ |
pascal@2310 | 27 $CONFIGURE_ARGS && |
slaxemulator@6323 | 28 make -j 4 && |
pankso@294 | 29 make DESTDIR=$PWD/_pkg install |
pankso@294 | 30 } |
pankso@294 | 31 |
pankso@294 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@294 | 33 genpkg_rules() |
pankso@294 | 34 { |
pankso@294 | 35 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@294 | 36 cp -a $_pkg/usr/bin $fs/usr |
pankso@294 | 37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
mallory@4012 | 38 cp -a $_pkg/usr/lib/$SOURCE-$SHORT_VERSION $fs/usr/lib |
mallory@4012 | 39 cp -a $_pkg/usr/share/$SOURCE-$SHORT_VERSION $fs/usr/share |
pankso@294 | 40 } |
pankso@294 | 41 |