wok view imagemagick/receipt @ rev 14866

Up: perl-extutils-pkgconfig (1.14)
author Claudinei Pereira <claudinei@slitaz.org>
date Mon Jul 22 19:45:46 2013 -0300 (2013-07-22)
parents edd415d792d3
children de49f29b101e
line source
1 # SliTaz package receipt.
3 PACKAGE="imagemagick"
4 VERSION="6.8.4-10"
5 SHORT_VERSION="${VERSION%-*}"
6 CATEGORY="graphics"
7 SHORT_DESC="Images manipulation programs."
8 MAINTAINER="pankso@slitaz.org"
9 SOURCE="ImageMagick"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="http://www.imagemagick.org/"
12 WGET_URL="http://mirror.checkdomain.de/$PACKAGE/$TARBALL"
13 TAGS="image photo toolkit"
15 DEPENDS="xorg-libXext jpeg libpng tiff libxml2 freetype libgomp bzlib expat \
16 fontconfig lcms jasper ilmbase openexr graphviz librsvg libgsf libgio cairo \
17 pango gcc-lib-base jbigkit libcroco fftw libltdl"
18 BUILD_DEPENDS="xorg-libXext-dev jpeg-dev libpng-dev tiff-dev libxml2-dev \
19 freetype-dev bzip2-dev expat-dev fontconfig-dev lcms-dev jasper-dev \
20 ilmbase-dev openexr-dev graphviz-dev librsvg-dev libgsf-dev libgio-dev \
21 cairo-dev pango-dev libcroco-dev fftw-dev util-linux-uuid-dev libtool"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 --sysconfdir=/etc \
32 --without-perl \
33 --with-magick-plus-plus \
34 --with-modules \
35 --enable-hdri \
36 $CONFIGURE_ARGS &&
37 make $MAKEFLAGS &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib $fs/usr/share
45 cp -a $install/etc $fs
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/lib/$SOURCE-$SHORT_VERSION $fs/usr/lib
49 cp -a $install/usr/share/$SOURCE-* $fs/usr/share
50 }