Magellan Linux

Contents of /branches/magellan-next/core/xmlrpc-c/xmlrpc-c-1.16.35-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7631 - (show annotations) (download)
Fri May 27 20:29:50 2011 UTC (12 years, 11 months ago) by niro
File size: 1018 byte(s)
auto added: ver bump to 1.16.35-r1
1 # $Id$
2
3 PNAME="xmlrpc-c"
4 PVER="1.16.35"
5 PBUILD="r1"
6
7 PCATEGORIE="dev-libs"
8 STATE="unstable"
9
10 DESCRIPTION="Programming library for writing an XML-RPC server or client in C or C++."
11 HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
12
13 DEPEND=">= net-misc/curl-7
14 >= dev-libs/libxml2-2.7"
15
16 SRCFILE="${PNAME}-${PVER}.tgz"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18
19 sminclude mbuild
20
21 SRC_URI=(
22 sourceforge://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${PNAME}-1.06.21-pic.patch
25 mirror://${PNAME}/${PNAME}-1.06.21-strsol.patch
26 )
27
28 UP2DATE="updatecmd_sourceforge ${PNAME} 'Xmlrpc-c Super Stable' - ${PNAME}"
29
30 src_prepare()
31 {
32 munpack ${SRCFILE}
33 cd ${SRCDIR}
34
35 # fixes pic issues
36 mpatch ${PNAME}-1.06.21-pic.patch || die
37 # fixes some build issues
38 mpatch ${PNAME}-1.06.21-strsol.patch || die
39 }
40
41 src_compile()
42 {
43 cd ${SRCDIR}
44
45 mconfigure \
46 --enable-libxml2-backend \
47 --enable-abyss-threads \
48 --enable-curl-client \
49 --disable-libwww-client \
50 --disable-wininet-client \
51 || die
52
53 mmake -j1 || die
54 }