xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDESCRIPTION = "XML-RPC for C/C++ is programming libraries and related tools to help you \
2*4882a593Smuzhiyunwrite an XML-RPC server or client in C or C++."
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunHOMEPAGE = "http://xmlrpc-c.sourceforge.net/"
5*4882a593SmuzhiyunLICENSE = "BSD-3-Clause & MIT"
6*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951"
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunSRC_URI = "git://github.com/mirror/xmlrpc-c.git;branch=master;protocol=https \
9*4882a593Smuzhiyun           file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \
10*4882a593Smuzhiyun           file://0002-fix-formatting-issues.patch \
11*4882a593Smuzhiyun           file://0003-src-Makefile-Fix-Makefile-macro-error.patch \
12*4882a593Smuzhiyun           "
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun#Release 1.54.02
15*4882a593SmuzhiyunSRCREV = "86405c7e1bd4f70287204a28d242a1054daab520"
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunS = "${WORKDIR}/git/stable"
18*4882a593Smuzhiyun
19*4882a593Smuzhiyuninherit autotools-brokensep binconfig pkgconfig
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunTARGET_CFLAGS += "-Wno-narrowing"
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunEXTRA_OEMAKE += "CC_FOR_BUILD='${BUILD_CC}' \
24*4882a593Smuzhiyun                 LD_FOR_BUILD='${BUILD_LD}' \
25*4882a593Smuzhiyun                 CFLAGS_FOR_BUILD='${BUILD_CFLAGS}' \
26*4882a593Smuzhiyun                 LDFLAGS_FOR_BUILD='${BUILD_LDFLAGS}' \
27*4882a593Smuzhiyun                 "
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunEXTRA_OECONF += "--disable-libwww-client --disable-wininet-client"
30*4882a593Smuzhiyun
31*4882a593SmuzhiyunPACKAGECONFIG ??= "curl cplusplus"
32*4882a593Smuzhiyun
33*4882a593SmuzhiyunPACKAGECONFIG[abyss] = "--enable-abyss-server --enable-abyss-threads --enable-abyss-openssl,--disable-abyss-server --disable-abyss-threads --disable-abyss-openssl,openssl"
34*4882a593SmuzhiyunPACKAGECONFIG[cplusplus] = "--enable-cplusplus,--disable-cplusplus"
35*4882a593SmuzhiyunPACKAGECONFIG[curl] = "--enable-curl-client,--disable-curl-client,curl"
36*4882a593Smuzhiyun
37*4882a593Smuzhiyundo_configure() {
38*4882a593Smuzhiyun        gnu-configize --verbose --force ${S}
39*4882a593Smuzhiyun        autoconf
40*4882a593Smuzhiyun        oe_runconf
41*4882a593Smuzhiyun        # license is incompatible with lib/util/getoptx.*
42*4882a593Smuzhiyun        rm -fv ${S}/tools/turbocharger/mod_gzip.c
43*4882a593Smuzhiyun}
44*4882a593Smuzhiyun
45*4882a593SmuzhiyunBBCLASSEXTEND = "native"
46*4882a593Smuzhiyun
47*4882a593SmuzhiyunCLEANBROKEN = "1"
48