wok view imagemagick/receipt @ rev 18630

Add mediainfo-gui
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Nov 25 07:29:51 2015 +0200 (2015-11-25)
parents de49f29b101e
children 18bbc96124a7
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 perl 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 --with-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 }