Magellan Linux

Contents of /trunk/core/xmlrpc-c/xmlrpc-c-1.16.36-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10269 - (show annotations) (download)
Fri Jan 20 14:11:18 2012 UTC (12 years, 4 months ago) by niro
File size: 1046 byte(s)
-disabled src_check - fixme
1 # $Id$
2
3 PNAME="xmlrpc-c"
4 PVER="1.16.36"
5 PBUILD="r2"
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
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 mirror://${PNAME}/${PNAME}-1.06.21-pic.patch
25 )
26
27 UP2DATE="updatecmd_sourceforge ${PNAME} 'Xmlrpc-c Super Stable' - ${PNAME}"
28
29 src_prepare()
30 {
31 munpack ${SRCFILE}
32 cd ${SRCDIR}
33
34 # fixes pic issues
35 mpatch ${PNAME}-1.06.21-pic.patch || die
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 --enable-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 }