Magellan Linux

Contents of /trunk/extras/gd/gd-2.0.35-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4008 - (show annotations) (download)
Tue Nov 17 11:30:14 2009 UTC (14 years, 5 months ago) by niro
File size: 937 byte(s)
auto added: ver bump to 2.0.35-r6
1 # $Id$
2
3 PNAME="gd"
4 PVER="2.0.35"
5 PBUILD="r6"
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-7
14 >= media-libs/libpng-1.2.40
15 >= media-libs/freetype-2.3
16 >= media-libs/fontconfig-2.7
17 >= x11-libs/libX11-1.3
18 >= x11-libs/libXau-1
19 >= x11-libs/libxcb-1.4
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 src_prepare()
34 {
35 munpack ${SRCFILE} || die
36 cd ${SRCDIR}
37
38 # fixes libtool2 issues
39 # ./libtool: line 841: X--tag=CC: command not found
40 autoreconf --install --force --verbose || die
41 }
42
43 src_compile()
44 {
45 cd ${SRCDIR}
46
47 mconfigure --with-jpeg --with-png --with-xpm --with-freetype || die
48 mmake || die
49 }

Properties

Name Value
svn:keywords Id