Magellan Linux

Contents of /branches/R11-stable/extras/gd/gd-2.0.35-r9.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15127 - (show annotations) (download)
Wed Jan 2 10:45:42 2013 UTC (11 years, 4 months ago) by niro
File size: 1090 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="gd"
4 PVER="2.0.35"
5 PBUILD="r9"
6
7 PCAT="media-libs"
8
9 DESCRIPTION="GD is an open source code library for the dynamic creation of images by programmers."
10 HOMEPAGE="http://www.libgd.org/"
11
12 DEPEND=">= media-libs/libjpeg-8
13 >= media-libs/libpng-1.5
14 >= media-libs/freetype-2.4
15 >= media-libs/fontconfig-2.8
16 >= x11-libs/libX11-1.3
17 >= x11-libs/libXau-1
18 >= x11-libs/libxcb-1.7
19 >= x11-libs/libXdmcp-1
20 >= x11-libs/libXpm-3
21 >= sys-libs/zlib-1.2.5"
22
23 SRCFILE="${PNAME}-${PVER}.tar.bz2"
24 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
25
26 sminclude mbuild
27
28 SRC_URI=(
29 http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE}
30 http://www.libgd.org/releases/${SRCFILE}
31 mirror://${PNAME}/${SRCFILE}
32 )
33
34 UP2DATE="updatecmd ${HOMEPAGE}/releases | grep -v RC | grep -v latest | lasttarball"
35
36 src_prepare()
37 {
38 munpack ${SRCFILE} || die
39 cd ${SRCDIR}
40
41 # fixes libtool2 issues
42 # ./libtool: line 841: X--tag=CC: command not found
43 mautoreconf || die
44 }
45
46 src_compile()
47 {
48 cd ${SRCDIR}
49
50 mconfigure --disable-rpath --with-jpeg --with-png --with-xpm --with-freetype || die
51 mmake || die
52 }