blob: aba6dfd885e71e3ef0a35e473af81c5380cef8b7 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001DESCRIPTION = "XML-RPC for C/C++ is programming libraries and related tools to help you \
2write an XML-RPC server or client in C or C++."
3
4HOMEPAGE = "http://xmlrpc-c.sourceforge.net/"
5LICENSE = "BSD & MIT"
6LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951"
7
8SRC_URI = "git://github.com/mirror/xmlrpc-c.git \
9 file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \
10 file://0002-fix-formatting-issues.patch \
Andrew Geisslerd688a012020-09-18 13:36:00 -050011 file://0003-src-Makefile-Fix-Makefile-macro-error.patch \
Brad Bishop19323692019-04-05 15:28:33 -040012 "
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050013
14#Release 1.54.02
15SRCREV = "86405c7e1bd4f70287204a28d242a1054daab520"
Brad Bishop19323692019-04-05 15:28:33 -040016
17S = "${WORKDIR}/git/stable"
18
19DEPENDS = "libxml2"
Brad Bishop19323692019-04-05 15:28:33 -040020
21inherit autotools-brokensep binconfig pkgconfig
22
23TARGET_CFLAGS += "-Wno-narrowing"
24
25EXTRA_OEMAKE += "CC_FOR_BUILD='${BUILD_CC}' \
26 LD_FOR_BUILD='${BUILD_LD}' \
27 CFLAGS_FOR_BUILD='${BUILD_CFLAGS}' \
28 LDFLAGS_FOR_BUILD='${BUILD_LDFLAGS}' \
29 "
30
31EXTRA_OECONF += "--disable-libwww-client --disable-wininet-client"
32
33PACKAGECONFIG ??= "curl cplusplus"
34
35PACKAGECONFIG[abyss] = "--enable-abyss-server --enable-abyss-threads --enable-abyss-openssl,--disable-abyss-server --disable-abyss-threads --disable-abyss-openssl,openssl,"
36PACKAGECONFIG[cplusplus] = "--enable-cplusplus,--disable-cplusplus,,"
37PACKAGECONFIG[curl] = "--enable-curl-client,--disable-curl-client,curl,curl"
38
39do_configure() {
40 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
41 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
42 autoconf
43 oe_runconf
44 # license is incompatible with lib/util/getoptx.*
45 rm -fv ${S}/tools/turbocharger/mod_gzip.c
46}
47
48BBCLASSEXTEND = "native"
49
50CLEANBROKEN = "1"