Magellan Linux

Contents of /branches/magellan-next/core/gd/gd-2.0.35-r8.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8259 - (show annotations) (download)
Wed Jul 13 15:40:26 2011 UTC (12 years, 10 months ago) by niro
File size: 1083 byte(s)
-moved to 'core'
1 # $Id$
2
3 PNAME="gd"
4 PVER="2.0.35"
5 PBUILD="r8"
6
7 PCATEGORIE="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
22 SRCFILE="${PNAME}-${PVER}.tar.bz2"
23 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
24
25 sminclude mbuild
26
27 SRC_URI=(
28 http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE}
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 }