Magellan Linux

Contents of /trunk/extras/xmlrpc-c/xmlrpc-c-1.06.23-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 1050 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/xmlrpc-c/xmlrpc-c-1.06.23-r2.smage2,v 1.1 2008/04/03 18:41:38 niro Exp $
2
3 PNAME="xmlrpc-c"
4 PVER="1.06.23"
5 PBUILD="r2"
6
7 PCATEGORIE="dev-libs"
8 STATE="unstable"
9
10 DESCRIPTION="Programming library for writing an XML-RPC server or client in C or C++."
11 HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
12
13 DEPEND=">= net-misc/curl-7
14 >= dev-libs/libxml2-2.6.27"
15
16
17 SRCFILE="${PNAME/-c/}-${PVER}.tgz"
18 SRCDIR="${BUILDDIR}/${PNAME/-c/}-${PVER}"
19
20 sminclude mbuild
21
22 SRC_URI=(
23 sourceforge://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 mirror://${PNAME}/${PNAME}-1.06.21-pic.patch
26 mirror://${PNAME}/${PNAME}-1.06.21-strsol.patch
27 )
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 # fixes some build issues
37 mpatch ${PNAME}-1.06.21-strsol.patch || die
38 }
39
40 src_compile()
41 {
42 cd ${SRCDIR}
43
44 mconfigure \
45 --enable-libxml2-backend \
46 --enable-abyss-threads \
47 --enable-curl-client \
48 --disable-libwww-client \
49 --disable-wininet-client \
50 || die
51
52 mmake -j1 || die
53 }

Properties

Name Value
svn:keywords Id