Magellan Linux

Contents of /trunk/extras/imagemagick/imagemagick-6.5.8.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4348 - (show annotations) (download)
Wed Dec 2 11:44:21 2009 UTC (14 years, 6 months ago) by niro
File size: 1644 byte(s)
auto added: ver bump to 6.5.8.2-r1
1 # $Id$
2
3 PNAME="imagemagick"
4 PVER="6.5.8.2"
5 PBUILD="r1"
6
7 PCATEGORIE="media-gfx"
8 STATE="unstable"
9
10 DESCRIPTION="Image manipulation tools and libraries for many image formats."
11 HOMEPAGE="http://www.imagemagick.org/"
12
13 DEPEND=">= x11-libs/libICE-1
14 >= x11-libs/libSM-1
15 >= x11-libs/libXext-1
16 >= x11-libs/libXt-1
17 >= app-arch/bzip2-1.0.2
18 >= sys-libs/zlib-1.2
19 >= media-libs/libjpeg-7
20 >= media-libs/libpng-1.2.40
21 >= media-libs/libtiff-3.9
22 >= media-libs/lcms-1.18
23 >= dev-lang/perl-5.10
24 >= dev-libs/libxml2-2.7
25 >= app-text/ghostscript-gpl-8
26 >= media-gfx/graphviz-2.22
27 >= media-libs/freetype-2.3.9
28 >= media-libs/libwmf-0.2.8.4
29 >= media-fonts/corefonts-2"
30
31 SDEPEND=">= sys-apps/sed-4
32 >= x11-proto/xextproto-7"
33
34 SRCFILE="ImageMagick-${PVER:0:5}-${PVER:6}.tar.bz2"
35 SRCDIR="${BUILDDIR}/ImageMagick-${PVER:0:5}"
36
37 sminclude mbuild
38
39 SRC_URI=(
40 sourceforge://${PNAME}/${SRCFILE}
41 mirror://${PNAME}/${SRCFILE}
42 )
43
44 UP2DATE="updatecmd ${HOMEPAGE}/script/download.php | grep 'latest release' | sed -e 's:.*version\ \(.*\).:\1:' -e 's:-:.:g'"
45
46 src_prepare()
47 {
48 munpack ${SRCFILE} || die
49 cd ${SRCDIR}
50
51 # do not link to included libltdl,
52 # use system libtool instead
53 sed -i 's/\$(LIBLTDL) \$/\$/' Makefile.in || die
54 }
55
56 src_compile()
57 {
58 cd ${SRCDIR}
59
60 mconfigure \
61 --build=${CHOST} \
62 --with-windows-font-dir=/usr/share/fonts/corefonts \
63 --enable-shared \
64 --with-threads \
65 --with-bzlib \
66 --with-modules \
67 --with-zlib \
68 --with-x \
69 --with-perl \
70 --with-tiff \
71 --with-lcms \
72 --with-xml \
73 --with-jp2 \
74 --with-jpeg \
75 --with-gslib \
76 --with-freetype \
77 --with-wmf \
78 --without-fpx \
79 --without-jbig \
80 || die
81
82 mmake || die
83 }

Properties

Name Value
svn:keywords Id