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