Magellan Linux

Annotation of /branches/magellan-next/extras/imagemagick/imagemagick-6.7.1.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8264 - (hide annotations) (download)
Wed Jul 13 16:01:48 2011 UTC (12 years, 11 months ago) by niro
File size: 1692 byte(s)
auto added: ver bump to 6.7.1.0-r1
1 niro 8264 # $Id$
2    
3     PNAME="imagemagick"
4     PVER="6.7.1.0"
5     PBUILD="r1"
6    
7     PCATEGORIE="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     >= media-libs/libjpeg-8
19     >= media-libs/libpng-1.5
20     >= media-libs/libtiff-3.9
21     >= media-libs/lcms-1.19
22     >= dev-lang/perl-5.14
23     >= dev-libs/libxml2-2.7
24     >= app-text/ghostscript-gpl-9
25     >= media-gfx/graphviz-2.28
26     >= media-libs/freetype-2.4
27     >= media-libs/libwmf-0.2.8.4
28     >= media-fonts/corefonts-2"
29    
30     SDEPEND=">= sys-apps/sed-4
31     >= x11-proto/xextproto-7"
32    
33     SRCFILE="ImageMagick-${PVER:0:5}-${PVER:6}.tar.bz2"
34     SRCDIR="${BUILDDIR}/ImageMagick-${PVER:0:5}-${PVER:6}"
35    
36     sminclude mbuild
37    
38     SRC_URI=(
39     ftp://ftp.imagemagick.org/pub/ImageMagick/${SRCFILE}
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     }