Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13787 - (show annotations) (download)
Wed Oct 30 19:48:33 2019 UTC (4 years, 5 months ago) by niro
File size: 1135 byte(s)
auto added: ver bump to 1.51.05-r1
1 # $Id$
2
3 PNAME="xmlrpc-c"
4 PVER="1.51.05"
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 # not a tar gz, regardless of the name
36 tar xvf ${SOURCEDIR}/${PNAME}/${SRCFILE} -C ${BUILDDIR} || die
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 --disable-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 }