Annotation of /branches/R11-stable/core/xmlrpc-c/xmlrpc-c-1.25.29-r1.smage2
Parent Directory | Revision Log
Revision 21671 -
(hide annotations)
(download)
Mon Jul 21 09:29:03 2014 UTC (10 years, 2 months ago) by niro
File size: 1085 byte(s)
Mon Jul 21 09:29:03 2014 UTC (10 years, 2 months ago) by niro
File size: 1085 byte(s)
-release branches/R11-stable
1 | niro | 21533 | # $Id$ |
2 | |||
3 | PNAME="xmlrpc-c" | ||
4 | PVER="1.25.29" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="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 | >= sys-libs/libstdc++-4.8" | ||
15 | |||
16 | SRCFILE="${PNAME}-${PVER}.tgz" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
18 | |||
19 | sminclude mbuild | ||
20 | msetfeature "!check" | ||
21 | |||
22 | SRC_URI=( | ||
23 | sourceforge://${PNAME}/${SRCFILE} | ||
24 | mirror://${PNAME}/${SRCFILE} | ||
25 | niro | 21534 | mirror://${PNAME}/${PNAME}-${PVER}-ftbfs.patch |
26 | niro | 21533 | ) |
27 | |||
28 | UP2TARBALL="${PNAME}" | ||
29 | UP2DATE="updatecmd_sourceforge ${PNAME} 'Xmlrpc-c Super Stable' tgz" | ||
30 | |||
31 | src_prepare() | ||
32 | { | ||
33 | munpack ${SRCFILE} | ||
34 | cd ${SRCDIR} | ||
35 | |||
36 | # fix compilation against newer curl, which dropped types.h | ||
37 | sed -i '/#include <curl\/types.h>/d' lib/curl_transport/*.c || die | ||
38 | niro | 21534 | |
39 | # ftbfs fix | ||
40 | mpatch ${PNAME}-${PVER}-ftbfs.patch || die | ||
41 | niro | 21533 | } |
42 | |||
43 | src_compile() | ||
44 | { | ||
45 | cd ${SRCDIR} | ||
46 | |||
47 | mconfigure \ | ||
48 | --enable-libxml2-backend \ | ||
49 | --enable-abyss-threads \ | ||
50 | --enable-curl-client \ | ||
51 | --disable-libwww-client \ | ||
52 | --disable-wininet-client \ | ||
53 | --disable-static \ | ||
54 | || die | ||
55 | |||
56 | mmake -j1 || die | ||
57 | } |