Magellan Linux

Contents of /smage/trunk/core/xmlrpc-c/xmlrpc-c-1.51.03-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13131 - (show annotations) (download)
Fri Jun 28 08:22:49 2019 UTC (4 years, 10 months ago) by niro
File size: 1030 byte(s)
auto added: ver bump to 1.51.03-r1
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 }