Contents of /trunk/extras/imagemagick/imagemagick-6.5.8.2-r1.smage2
Parent Directory | Revision Log
Revision 4350 -
(show annotations)
(download)
Wed Dec 2 15:08:28 2009 UTC (14 years, 9 months ago) by niro
File size: 1708 byte(s)
Wed Dec 2 15:08:28 2009 UTC (14 years, 9 months ago) by niro
File size: 1708 byte(s)
-fixed SRCDIR
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}-${PVER:6}" |
36 | |
37 | sminclude mbuild |
38 | |
39 | SRC_URI=( |
40 | ftp://ftp.imagemagick.org/pub/ImageMagick/${SRCFILE} |
41 | sourceforge://${PNAME}/${SRCFILE} |
42 | mirror://${PNAME}/${SRCFILE} |
43 | ) |
44 | |
45 | UP2DATE="updatecmd ${HOMEPAGE}/script/download.php | grep 'latest release' | sed -e 's:.*version\ \(.*\).:\1:' -e 's:-:.:g'" |
46 | |
47 | src_prepare() |
48 | { |
49 | munpack ${SRCFILE} || die |
50 | cd ${SRCDIR} |
51 | |
52 | # do not link to included libltdl, |
53 | # use system libtool instead |
54 | sed -i 's/\$(LIBLTDL) \$/\$/' Makefile.in || die |
55 | } |
56 | |
57 | src_compile() |
58 | { |
59 | cd ${SRCDIR} |
60 | |
61 | mconfigure \ |
62 | --build=${CHOST} \ |
63 | --with-windows-font-dir=/usr/share/fonts/corefonts \ |
64 | --enable-shared \ |
65 | --with-threads \ |
66 | --with-bzlib \ |
67 | --with-modules \ |
68 | --with-zlib \ |
69 | --with-x \ |
70 | --with-perl \ |
71 | --with-tiff \ |
72 | --with-lcms \ |
73 | --with-xml \ |
74 | --with-jp2 \ |
75 | --with-jpeg \ |
76 | --with-gslib \ |
77 | --with-freetype \ |
78 | --with-wmf \ |
79 | --without-fpx \ |
80 | --without-jbig \ |
81 | || die |
82 | |
83 | mmake || die |
84 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |