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 13788 - (show annotations) (download)
Wed Oct 30 20:11:14 2019 UTC (4 years, 5 months ago) by niro
File size: 1290 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 # repackaged as a valid tar file for busybox
20 SRCFILE="${PNAME}-${PVER}-busybox.tar.gz"
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 # not a tar gz, regardless of the name
38 #tar xvf ${SOURCEDIR}/${PNAME}/${SRCFILE} -C ${BUILDDIR} || die
39 # repackaged as a valid tar file for busybox
40 munpack ${SRCFILE}
41 cd ${SRCDIR}
42
43 # fix compilation against newer curl, which dropped types.h
44 sed -i '/#include <curl\/types.h>/d' lib/curl_transport/*.c || die
45 }
46
47 src_compile()
48 {
49 cd ${SRCDIR}
50
51 mconfigure \
52 --disable-libxml2-backend \
53 --enable-abyss-threads \
54 --enable-curl-client \
55 --disable-libwww-client \
56 --disable-wininet-client \
57 --disable-static \
58 || die
59
60 mmake -j1 || die
61 }