xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1DESCRIPTION = "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-3-Clause & MIT"
6LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951"
7
8SRC_URI = "git://github.com/mirror/xmlrpc-c.git;branch=master;protocol=https \
9           file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \
10           file://0002-fix-formatting-issues.patch \
11           file://0003-src-Makefile-Fix-Makefile-macro-error.patch \
12           "
13
14#Release 1.54.02
15SRCREV = "86405c7e1bd4f70287204a28d242a1054daab520"
16
17S = "${WORKDIR}/git/stable"
18
19inherit autotools-brokensep binconfig pkgconfig
20
21TARGET_CFLAGS += "-Wno-narrowing"
22
23EXTRA_OEMAKE += "CC_FOR_BUILD='${BUILD_CC}' \
24                 LD_FOR_BUILD='${BUILD_LD}' \
25                 CFLAGS_FOR_BUILD='${BUILD_CFLAGS}' \
26                 LDFLAGS_FOR_BUILD='${BUILD_LDFLAGS}' \
27                 "
28
29EXTRA_OECONF += "--disable-libwww-client --disable-wininet-client"
30
31PACKAGECONFIG ??= "curl cplusplus"
32
33PACKAGECONFIG[abyss] = "--enable-abyss-server --enable-abyss-threads --enable-abyss-openssl,--disable-abyss-server --disable-abyss-threads --disable-abyss-openssl,openssl"
34PACKAGECONFIG[cplusplus] = "--enable-cplusplus,--disable-cplusplus"
35PACKAGECONFIG[curl] = "--enable-curl-client,--disable-curl-client,curl"
36
37do_configure() {
38        gnu-configize --verbose --force ${S}
39        autoconf
40        oe_runconf
41        # license is incompatible with lib/util/getoptx.*
42        rm -fv ${S}/tools/turbocharger/mod_gzip.c
43}
44
45BBCLASSEXTEND = "native"
46
47CLEANBROKEN = "1"
48