wok view imagemagick/receipt @ rev 9952
libxml++: Fix build
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed May 18 14:30:23 2011 +0200 (2011-05-18) |
parents | 1df8ed35c39c |
children | 832772a9bee9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="imagemagick"
4 VERSION="6.6.8-10"
5 SHORT_VERSION="${VERSION%-*}"
6 CATEGORY="graphics"
7 SHORT_DESC="Images manipulation programs."
8 MAINTAINER="pankso@slitaz.org"
9 DEPENDS="xorg-libXext jpeg libpng tiff libxml2 freetype libgomp bzlib expat \
10 fontconfig lcms jasper ilmbase openexr graphviz librsvg libgsf libgio cairo gcc-lib-base jbigkit fftw"
11 BUILD_DEPENDS="jpeg-dev ilmbase-dev openexr-dev libpng-dev tiff-dev libxml2-dev lcms-dev graphviz-dev fftw-dev"
12 SOURCE="ImageMagick"
13 TARBALL="$SOURCE-$VERSION.tar.xz"
14 WEB_SITE="http://www.imagemagick.org/"
15 WGET_URL="ftp://ftp.imagemagick.org/pub/ImageMagick/$TARBALL"
16 TAGS="image photo toolkit"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --without-perl \
27 $CONFIGURE_ARGS &&
28 make -j 4 &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 cp -a $_pkg/usr/lib/$SOURCE-$SHORT_VERSION $fs/usr/lib
39 cp -a $_pkg/usr/share/$SOURCE-$SHORT_VERSION $fs/usr/share
40 }