wok-next view imagemagick/receipt @ rev 15600

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 15:25:09 2013 +0000 (2013-12-05)
parents b98b29955277
children 6f05c710673c
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 LICENSE="Apache"
10 SOURCE="ImageMagick"
11 TARBALL="$SOURCE-$VERSION.tar.xz"
12 WEB_SITE="http://www.imagemagick.org/"
13 WGET_URL="http://mirror.checkdomain.de/$PACKAGE/$TARBALL"
14 TAGS="image photo toolkit"
16 DEPENDS="xorg-libXext jpeg libpng tiff libxml2 freetype libgomp bzlib expat \
17 fontconfig lcms jasper ilmbase openexr graphviz librsvg libgsf libgio cairo \
18 pango gcc-lib-base jbigkit libcroco fftw libltdl"
19 BUILD_DEPENDS="xorg-libXext-dev jpeg-dev libpng-dev tiff-dev libxml2-dev \
20 freetype-dev bzip2-dev expat-dev fontconfig-dev lcms-dev jasper-dev \
21 ilmbase-dev openexr-dev graphviz-dev librsvg-dev libgsf-dev libgio-dev \
22 cairo-dev pango-dev libcroco-dev fftw-dev util-linux-uuid-dev libtool"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 --sysconfdir=/etc \
33 --without-perl \
34 --with-magick-plus-plus \
35 --with-modules \
36 --enable-hdri \
37 $CONFIGURE_ARGS &&
38 make $MAKEFLAGS &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib $fs/usr/share
46 cp -a $install/etc $fs
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/lib/$SOURCE-$SHORT_VERSION $fs/usr/lib
50 cp -a $install/usr/share/$SOURCE-* $fs/usr/share
51 }