diff options
Diffstat (limited to 'meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.64.0.bb')
-rw-r--r-- | meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.64.0.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.64.0.bb b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.64.0.bb new file mode 100644 index 0000000000..3b923fb99e --- /dev/null +++ b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.64.0.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | DESCRIPTION = "XML-RPC for C/C++ is programming libraries and related tools to help you \ | ||
2 | write an XML-RPC server or client in C or C++." | ||
3 | |||
4 | HOMEPAGE = "http://xmlrpc-c.sourceforge.net/" | ||
5 | LICENSE = "BSD-3-Clause & MIT" | ||
6 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951" | ||
7 | |||
8 | SRC_URI = "git://github.com/mirror/xmlrpc-c.git;branch=master;protocol=https \ | ||
9 | file://no-automake.patch \ | ||
10 | file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \ | ||
11 | file://0001-unix-common.mk-Ensuring-Sequential-Execution-of-rm-a.patch \ | ||
12 | file://0001-fix-bool-reserved-word-error-in-gcc-15.patch;striplevel=2 \ | ||
13 | " | ||
14 | SRCREV = "8ce36bce2438df9b02fcaafd19efa90a56426601" | ||
15 | |||
16 | S = "${UNPACKDIR}/${BP}/advanced" | ||
17 | |||
18 | inherit autotools-brokensep binconfig pkgconfig | ||
19 | |||
20 | TARGET_CFLAGS += "-Wno-narrowing" | ||
21 | |||
22 | # These are needed for the integrated expat | ||
23 | EXTRA_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 | |||
29 | EXTRA_OECONF += "--disable-libwww-client --disable-wininet-client" | ||
30 | |||
31 | PACKAGECONFIG ??= "curl cplusplus" | ||
32 | |||
33 | PACKAGECONFIG[abyss] = "--enable-abyss-server --enable-abyss-threads --enable-abyss-openssl,--disable-abyss-server --disable-abyss-threads --disable-abyss-openssl,openssl" | ||
34 | PACKAGECONFIG[cplusplus] = "--enable-cplusplus,--disable-cplusplus" | ||
35 | PACKAGECONFIG[curl] = "--enable-curl-client,--disable-curl-client,curl" | ||
36 | |||
37 | do_configure:prepend() { | ||
38 | # license is incompatible with lib/util/getoptx.* | ||
39 | rm -fv ${S}/tools/turbocharger/mod_gzip.c | ||
40 | } | ||
41 | |||
42 | do_install:append:class-target() { | ||
43 | sed -i 's,${WORKDIR},${TARGET_DBGSRC_DIR},g' ${D}${bindir}/xmlrpc-c-config | ||
44 | } | ||
45 | |||
46 | BBCLASSEXTEND = "native" | ||
47 | |||
48 | CLEANBROKEN = "1" | ||