Contents of /trunk/core/xmlrpc-c/xmlrpc-c-1.51.04-r1.smage2
Parent Directory | Revision Log
Revision 32952 -
(show annotations)
(download)
Mon Oct 7 09:29:52 2019 UTC (4 years, 11 months ago) by niro
File size: 1060 byte(s)
Mon Oct 7 09:29:52 2019 UTC (4 years, 11 months ago) by niro
File size: 1060 byte(s)
auto added: ver bump to 1.51.04-r1
1 | # $Id$ |
2 | |
3 | PNAME="xmlrpc-c" |
4 | PVER="1.51.04" |
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++-9.2" |
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 | # not a tar gz, regardless of the name |
33 | tar cvf ${SOURCEDIR}/${PNAME}/${SRCFILE} -C ${BUILDDIR} || die |
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 | } |
39 | |
40 | src_compile() |
41 | { |
42 | cd ${SRCDIR} |
43 | |
44 | mconfigure \ |
45 | --disable-libxml2-backend \ |
46 | --enable-abyss-threads \ |
47 | --enable-curl-client \ |
48 | --disable-libwww-client \ |
49 | --disable-wininet-client \ |
50 | --disable-static \ |
51 | || die |
52 | |
53 | mmake -j1 || die |
54 | } |