Contents of /trunk/extras/imagemagick/imagemagick-6.4.0.7-r2.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1615 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1615 byte(s)
import repo
1 | # $Header: /magellan-cvs/smage/imagemagick/imagemagick-6.4.0.7-r2.smage2,v 1.2 2008/08/11 15:53:58 niro Exp $ |
2 | |
3 | PNAME="imagemagick" |
4 | PVER="6.4.0.7" |
5 | PBUILD="r2" |
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-6b |
20 | >= media-libs/libpng-1.2 |
21 | >= media-libs/libtiff-3.8 |
22 | >= media-libs/lcms-1.17 |
23 | >= dev-lang/perl-5.10 |
24 | >= dev-libs/libxml2-2 |
25 | >= app-text/ghostscript-esp-8 |
26 | >= media-gfx/graphviz-2.18 |
27 | >= media-libs/freetype-2.3 |
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 | src_prepare() |
45 | { |
46 | munpack ${SRCFILE} || die |
47 | cd ${SRCDIR} |
48 | |
49 | # do not link to included libltdl, |
50 | # use system libtool instead |
51 | sed -i 's/\$(LIBLTDL) \$/\$/' Makefile.in || die |
52 | } |
53 | |
54 | src_compile() |
55 | { |
56 | cd ${SRCDIR} |
57 | |
58 | mconfigure \ |
59 | --build=${CHOST} \ |
60 | --with-windows-font-dir=/usr/share/fonts/corefonts \ |
61 | --enable-shared \ |
62 | --with-threads \ |
63 | --with-bzlib \ |
64 | --with-modules \ |
65 | --with-zlib \ |
66 | --with-x \ |
67 | --with-perl \ |
68 | --with-tiff \ |
69 | --with-lcms \ |
70 | --with-xml \ |
71 | --with-jp2 \ |
72 | --with-jpeg \ |
73 | --with-gslib \ |
74 | --with-freetype \ |
75 | --with-wmf \ |
76 | --without-fpx \ |
77 | --without-jbig \ |
78 | || die |
79 | |
80 | mmake || die |
81 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |