aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhasan.men <hasan.men@bosphorusiss.com>2021-04-04 17:31:40 +0200
committerKhem Raj <raj.khem@gmail.com>2021-04-06 09:02:12 -0700
commit285e612ac9c1ab1fc9f50728cb27b0bd0c40e89c (patch)
tree2f9e30a4a79a06b6041d332720f057e9793b2137
parent3e5209b691c9f4c720335d4f00dc143264c2df96 (diff)
downloadmeta-openembedded-contrib-285e612ac9c1ab1fc9f50728cb27b0bd0c40e89c.tar.gz
meta-openembedded-contrib-285e612ac9c1ab1fc9f50728cb27b0bd0c40e89c.tar.bz2
meta-openembedded-contrib-285e612ac9c1ab1fc9f50728cb27b0bd0c40e89c.zip
libcppkafka: Add initial recipe for cppkafka wrapper
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/libcppkafka/libcppkafka_git.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libcppkafka/libcppkafka_git.bb b/meta-oe/recipes-support/libcppkafka/libcppkafka_git.bb
new file mode 100644
index 0000000000..6237638d3d
--- /dev/null
+++ b/meta-oe/recipes-support/libcppkafka/libcppkafka_git.bb
@@ -0,0 +1,22 @@
+SUMMARY = "high level C++ wrapper for rdkafka"
+DESCRIPTION = "cppkafka allows C++ applications to consume and produce messages using the Apache Kafka protocol."
+HOMEPAGE = "https://github.com/mfontanini/cppkafka"
+SECTION = "lib"
+LICENSE = "BSD-2-Clause"
+
+LIC_FILES_CHKSUM = " \
+file://LICENSE;md5=d8b4ca15d239dc1485ef495c8f1bcc72 \
+"
+
+SRC_URI = "git://github.com/mfontanini/cppkafka;protocol=https"
+SRCREV = "5e4b350806d561473138ce7a982e8f6cf2e77733"
+
+DEPENDS = "librdkafka boost chrpath-replacement-native"
+
+inherit cmake
+
+S = "${WORKDIR}/git"
+
+do_install_append(){
+ chrpath -d ${D}${libdir}/libcppkafka.so.0.3.1
+}