Annotation of /branches/magellan-next/core/xmlrpc-c/xmlrpc-c-1.16.36-r1.smage2
Parent Directory | Revision Log
Revision 8461 -
(hide annotations)
(download)
Mon Jul 18 21:56:32 2011 UTC (12 years, 11 months ago) by niro
File size: 1010 byte(s)
Mon Jul 18 21:56:32 2011 UTC (12 years, 11 months ago) by niro
File size: 1010 byte(s)
-typo
1 | niro | 8437 | # $Id$ |
2 | |||
3 | PNAME="xmlrpc-c" | ||
4 | PVER="1.16.36" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="dev-libs" | ||
8 | |||
9 | DESCRIPTION="Programming library for writing an XML-RPC server or client in C or C++." | ||
10 | HOMEPAGE="http://xmlrpc-c.sourceforge.net/" | ||
11 | |||
12 | DEPEND=">= net-misc/curl-7 | ||
13 | >= dev-libs/libxml2-2.7" | ||
14 | |||
15 | SRCFILE="${PNAME}-${PVER}.tgz" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
17 | |||
18 | sminclude mbuild | ||
19 | |||
20 | SRC_URI=( | ||
21 | sourceforge://${PNAME}/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | mirror://${PNAME}/${PNAME}-1.06.21-pic.patch | ||
24 | ) | ||
25 | |||
26 | UP2DATE="updatecmd_sourceforge ${PNAME} 'Xmlrpc-c Super Stable' - ${PNAME}" | ||
27 | |||
28 | src_prepare() | ||
29 | { | ||
30 | munpack ${SRCFILE} | ||
31 | cd ${SRCDIR} | ||
32 | |||
33 | # fixes pic issues | ||
34 | mpatch ${PNAME}-1.06.21-pic.patch || die | ||
35 | niro | 8460 | |
36 | # fix compilation against newer curl, which dropped types.h | ||
37 | niro | 8461 | sed -i '/#include <curl\/types.h>/d' lib/curl_transport/*.c || die |
38 | niro | 8437 | } |
39 | |||
40 | src_compile() | ||
41 | { | ||
42 | cd ${SRCDIR} | ||
43 | |||
44 | mconfigure \ | ||
45 | --enable-libxml2-backend \ | ||
46 | --enable-abyss-threads \ | ||
47 | --enable-curl-client \ | ||
48 | --disable-libwww-client \ | ||
49 | --disable-wininet-client \ | ||
50 | || die | ||
51 | |||
52 | mmake -j1 || die | ||
53 | } |