Magellan Linux

Contents of /branches/R11-stable/extras/imagemagick/imagemagick-6.8.6.9-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 19460 - (show annotations) (download)
Mon Sep 16 09:31:10 2013 UTC (10 years, 7 months ago) by niro
File size: 2125 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="imagemagick"
4 PVER="6.8.6.9"
5 PBUILD="r2"
6
7 PCAT="media-gfx"
8
9 DESCRIPTION="Image manipulation tools and libraries for many image formats."
10 HOMEPAGE="http://www.imagemagick.org/"
11
12 DEPEND=">= x11-libs/libICE-1
13 >= x11-libs/libSM-1
14 >= x11-libs/libXext-1.3
15 >= x11-libs/libXt-1.1
16 >= app-arch/bzip2-1.0.6
17 >= sys-libs/zlib-1.2.5
18 >= sys-libs/libgomp-4.8
19 >= sys-libs/libltdl-2.4
20 >= media-libs/libjpeg-8
21 >= media-libs/libpng-1.5
22 >= media-libs/libtiff-4
23 >= media-libs/lcms-1.19
24 == dev-lang/perl-5.18.1
25 >= dev-libs/libxml2-2.7
26 >= app-text/ghostscript-gpl-9
27 >= media-gfx/graphviz-2.34
28 >= media-libs/freetype-2.4
29 >= media-libs/libwmf-0.2.8.4
30 >= media-libs/openexr-2.0
31 >= media-fonts/corefonts-2
32 >= sci-libs/fftw3-3.3"
33
34 SDEPEND=">= virtual/sed
35 >= sys-dev/libtool-2.4
36 >= x11-proto/xextproto-7"
37
38 SRCFILE="ImageMagick-${PVER:0:5}-${PVER:6}.tar.bz2"
39 SRCDIR="${BUILDDIR}/ImageMagick-${PVER:0:5}-${PVER:6}"
40
41 sminclude mbuild
42 # .la files a substantly needed to load runtime lib-deps!
43 # do not remove them or errors like this will occur:
44 # convert: no decode delegate for this image format `/usr/share/pixmaps/xterm_48x48.xpm'
45 # @ error/constitute.c/ReadImage/532.
46 msetfeature "libtool" "!check"
47
48 SRC_URI=(
49 ftp://ftp.imagemagick.org/pub/ImageMagick/${SRCFILE}
50 ftp://ftp.imagemagick.org/pub/ImageMagick/legacy/${SRCFILE}
51 mirror://${PNAME}/${SRCFILE}
52 )
53
54 UP2DATE="updatecmd ${HOMEPAGE}/script/download.php | grep 'latest release' | sed -e 's:.*version\ \(.*\).:\1:' -e 's:-:.:g'"
55
56 src_prepare()
57 {
58 munpack ${SRCFILE} || die
59 cd ${SRCDIR}
60
61 # do not link to included libltdl,
62 # use system libtool instead
63 sed -i 's/\$(LIBLTDL) \$/\$/' Makefile.in || die
64 }
65
66 src_compile()
67 {
68 cd ${SRCDIR}
69
70 mconfigure \
71 --build=${CHOST} \
72 --with-windows-font-dir=/usr/share/fonts/corefonts \
73 --enable-shared \
74 --with-threads \
75 --with-bzlib \
76 --with-modules \
77 --with-zlib \
78 --with-x \
79 --with-perl \
80 --with-tiff \
81 --with-lcms \
82 --with-xml \
83 --with-jp2 \
84 --with-jpeg \
85 --with-gslib \
86 --with-freetype \
87 --with-wmf \
88 --with-openexr \
89 --without-fpx \
90 --without-jbig \
91 || die
92
93 mmake -j1 || die
94 }