wok-current view imagemagick/receipt @ rev 12481
Rename linux-util-ng to util-linux in all packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 23 16:30:27 2012 +0200 (2012-04-23) |
parents | 8e4c74abdf74 |
children | a92de64c34e2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="imagemagick"
4 VERSION="6.7.0-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 \
12 libxml2-dev lcms-dev graphviz-dev fftw-dev util-linux-uuid-dev libcroco-dev"
13 SOURCE="ImageMagick"
14 TARBALL="$SOURCE-$VERSION.tar.xz"
15 WEB_SITE="http://www.imagemagick.org/"
16 WGET_URL="ftp://ftp.imagemagick.org/pub/ImageMagick/$TARBALL"
17 TAGS="image photo toolkit"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 --without-perl \
28 --with-magick-plus-plus \
29 --enable-hdri \
30 $CONFIGURE_ARGS &&
31 make $MAKEFLAGS &&
32 make DESTDIR=$PWD/_pkg install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib $fs/usr/share
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
41 cp -a $_pkg/usr/lib/$SOURCE-$SHORT_VERSION $fs/usr/lib
42 cp -a $_pkg/usr/share/$SOURCE-$SHORT_VERSION $fs/usr/share
43 }