blob: a34256c275ff5346010896454392c066be43d87e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
DESCRIPTION = "XML-RPC for C/C++ is programming libraries and related tools to help you \
write an XML-RPC server or client in C or C++."
HOMEPAGE = "http://xmlrpc-c.sourceforge.net/"
LICENSE = "BSD-3-Clause & MIT"
LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951"
SRC_URI = "git://github.com/mirror/xmlrpc-c.git;branch=master;protocol=https \
file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \
"
# one more commit after Release 1.60.03 in the Stable series
SRCREV = "a823b0bb5cf0a4dbd34f929cbfdfb0439c5d9b0e"
S = "${WORKDIR}/git/stable"
inherit autotools-brokensep binconfig pkgconfig
TARGET_CFLAGS += "-Wno-narrowing"
EXTRA_OEMAKE += "CC_FOR_BUILD='${BUILD_CC}' \
LD_FOR_BUILD='${BUILD_LD}' \
CFLAGS_FOR_BUILD='${BUILD_CFLAGS}' \
LDFLAGS_FOR_BUILD='${BUILD_LDFLAGS}' \
"
EXTRA_OECONF += "--disable-libwww-client --disable-wininet-client"
PACKAGECONFIG ??= "curl cplusplus"
PACKAGECONFIG[abyss] = "--enable-abyss-server --enable-abyss-threads --enable-abyss-openssl,--disable-abyss-server --disable-abyss-threads --disable-abyss-openssl,openssl"
PACKAGECONFIG[cplusplus] = "--enable-cplusplus,--disable-cplusplus"
PACKAGECONFIG[curl] = "--enable-curl-client,--disable-curl-client,curl"
do_configure() {
gnu-configize --verbose --force ${S}
autoconf
oe_runconf
# license is incompatible with lib/util/getoptx.*
rm -fv ${S}/tools/turbocharger/mod_gzip.c
}
do_install:append:class-target() {
sed -i 's,${WORKDIR},${TARGET_DBGSRC_DIR},g' ${D}${bindir}/xmlrpc-c-config
}
BBCLASSEXTEND = "native"
CLEANBROKEN = "1"
|