Contents of /smage/trunk/deprecated/xmlrpc-c/xmlrpc-c-1.51.06-r1.smage2
Parent Directory | Revision Log
Revision 16086 -
(show annotations)
(download)
Tue Sep 5 20:11:16 2023 UTC (12 months, 3 weeks ago) by niro
File size: 1290 byte(s)
Tue Sep 5 20:11:16 2023 UTC (12 months, 3 weeks ago) by niro
File size: 1290 byte(s)
-moved to 'deprecated'
1 | # $Id$ |
2 | |
3 | PNAME="xmlrpc-c" |
4 | PVER="1.51.06" |
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++-8.4" |
14 | |
15 | SDEPEND=">= net-libs/libcurl-dev-7 |
16 | >= sys-libs/libstdc++-dev-8.4" |
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 | } |