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