Contents of /branches/R11-stable/core/xmlrpc-c/xmlrpc-c-1.33.16-r1.smage2
Parent Directory | Revision Log
Revision 24067 -
(show annotations)
(download)
Fri Feb 20 08:50:16 2015 UTC (9 years, 7 months ago) by niro
File size: 979 byte(s)
Fri Feb 20 08:50:16 2015 UTC (9 years, 7 months ago) by niro
File size: 979 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="xmlrpc-c" |
4 | PVER="1.33.16" |
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 | ) |
26 | |
27 | UP2TARBALL="${PNAME}" |
28 | UP2DATE="updatecmd_sourceforge ${PNAME} 'Xmlrpc-c Super Stable' tgz" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} |
33 | cd ${SRCDIR} |
34 | |
35 | # fix compilation against newer curl, which dropped types.h |
36 | sed -i '/#include <curl\/types.h>/d' lib/curl_transport/*.c || die |
37 | } |
38 | |
39 | src_compile() |
40 | { |
41 | cd ${SRCDIR} |
42 | |
43 | mconfigure \ |
44 | --enable-libxml2-backend \ |
45 | --enable-abyss-threads \ |
46 | --enable-curl-client \ |
47 | --disable-libwww-client \ |
48 | --disable-wininet-client \ |
49 | --disable-static \ |
50 | || die |
51 | |
52 | mmake -j1 || die |
53 | } |