Annotation of /smage/trunk/core/xmlrpc-c/xmlrpc-c-1.39.07-r1.smage2
Parent Directory | Revision Log
Revision 8240 -
(hide annotations)
(download)
Tue Jan 12 07:58:50 2016 UTC (8 years, 8 months ago) by niro
File size: 1077 byte(s)
Tue Jan 12 07:58:50 2016 UTC (8 years, 8 months ago) by niro
File size: 1077 byte(s)
auto added: ver bump to 1.39.07-r1
1 | niro | 8240 | # $Id$ |
2 | |||
3 | PNAME="xmlrpc-c" | ||
4 | PVER="1.39.07" | ||
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++-5.3" | ||
15 | |||
16 | SDEPEND=">= net-misc/curl-dev-7 | ||
17 | >= dev-libs/libxml2-dev-2.7 | ||
18 | >= sys-libs/libstdc++-dev-5.3" | ||
19 | |||
20 | SRCFILE="${PNAME}-${PVER}.tgz" | ||
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
22 | |||
23 | sminclude mbuild alx | ||
24 | msetfeature "!check" | ||
25 | |||
26 | SRC_URI=( | ||
27 | sourceforge://${PNAME}/${SRCFILE} | ||
28 | mirror://${PNAME}/${SRCFILE} | ||
29 | ) | ||
30 | |||
31 | UP2TARBALL="${PNAME}" | ||
32 | UP2DATE="updatecmd_sourceforge ${PNAME} 'Xmlrpc-c Super Stable' tgz" | ||
33 | |||
34 | src_prepare() | ||
35 | { | ||
36 | munpack ${SRCFILE} | ||
37 | cd ${SRCDIR} | ||
38 | |||
39 | # fix compilation against newer curl, which dropped types.h | ||
40 | sed -i '/#include <curl\/types.h>/d' lib/curl_transport/*.c || die | ||
41 | } | ||
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 | } |