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