Magellan Linux

Contents of /trunk/core/xmlrpc-c/xmlrpc-c-1.51.04-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32951 - (show annotations) (download)
Mon Oct 7 09:23:50 2019 UTC (4 years, 6 months ago) by niro
File size: 955 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 cd ${SRCDIR}
33
34 # fix compilation against newer curl, which dropped types.h
35 sed -i '/#include <curl\/types.h>/d' lib/curl_transport/*.c || die
36 }
37
38 src_compile()
39 {
40 cd ${SRCDIR}
41
42 mconfigure \
43 --disable-libxml2-backend \
44 --enable-abyss-threads \
45 --enable-curl-client \
46 --disable-libwww-client \
47 --disable-wininet-client \
48 --disable-static \
49 || die
50
51 mmake -j1 || die
52 }