Annotation of /branches/magellan-next/extras/gd/gd-2.0.35-r7.smage2
Parent Directory | Revision Log
Revision 7268 -
(hide annotations)
(download)
Wed Oct 13 11:07:59 2010 UTC (13 years, 7 months ago) by niro
File size: 1073 byte(s)
Wed Oct 13 11:07:59 2010 UTC (13 years, 7 months ago) by niro
File size: 1073 byte(s)
auto added: ver bump to 2.0.35-r7
1 | niro | 7268 | # $Id: gd-2.0.35-r6.smage2 4008 2009-11-17 11:30:14Z niro $ |
2 | |||
3 | PNAME="gd" | ||
4 | PVER="2.0.35" | ||
5 | PBUILD="r7" | ||
6 | |||
7 | PCATEGORIE="media-libs" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="GD is an open source code library for the dynamic creation of images by programmers." | ||
11 | HOMEPAGE="http://www.libgd.org/" | ||
12 | |||
13 | DEPEND=">= media-libs/libjpeg-8 | ||
14 | >= media-libs/libpng-1.4 | ||
15 | >= media-libs/freetype-2.4 | ||
16 | >= media-libs/fontconfig-2.8 | ||
17 | >= x11-libs/libX11-1.3 | ||
18 | >= x11-libs/libXau-1 | ||
19 | >= x11-libs/libxcb-1.7 | ||
20 | >= x11-libs/libXdmcp-1 | ||
21 | >= x11-libs/libXpm-3" | ||
22 | |||
23 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
24 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
25 | |||
26 | sminclude mbuild | ||
27 | |||
28 | SRC_URI=( | ||
29 | http://www.libgd.org/releases/${SRCFILE} | ||
30 | mirror://${PNAME}/${SRCFILE} | ||
31 | ) | ||
32 | |||
33 | UP2DATE="updatecmd ${HOMEPAGE}/releases | grep -v RC | grep -v latest | lasttarball" | ||
34 | |||
35 | src_prepare() | ||
36 | { | ||
37 | munpack ${SRCFILE} || die | ||
38 | cd ${SRCDIR} | ||
39 | |||
40 | # fixes libtool2 issues | ||
41 | # ./libtool: line 841: X--tag=CC: command not found | ||
42 | autoreconf --install --force --verbose || die | ||
43 | } | ||
44 | |||
45 | src_compile() | ||
46 | { | ||
47 | cd ${SRCDIR} | ||
48 | |||
49 | mconfigure --with-jpeg --with-png --with-xpm --with-freetype || die | ||
50 | mmake || die | ||
51 | } |