Files
openwrt_yocto/meta-openembedded/meta-oe/recipes-support/libcppkafka/libcppkafka_git.bb
T
francis.wang 4c86c082a2 Initial commit: OpenWrt-Yocto monorepo
Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and
meta-openwrt into a single repository.

Components:
- poky/             Yocto core framework (BitBake + OE-Core)
- meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking)
- meta-openwrt/     OpenWrt customization layer
- setup-env.sh      One-click build environment setup
- README.md         Project documentation
2026-07-11 13:28:01 +08:00

30 lines
822 B
BlitzBasic

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;branch=master \
"
SRCREV = "91ac543cbd2228588dcf24a6ca357f8be0f4e5ab"
BASEPV = "0.4.0"
PV = "${BASEPV}+git"
DEPENDS = "librdkafka curl boost chrpath-replacement-native"
inherit cmake
EXTRA_OECMAKE = "-DCPPKAFKA_BUILD_SHARED=ON"
S = "${WORKDIR}/git"
do_install:append(){
chrpath -d ${D}${libdir}/libcppkafka.so.${BASEPV}
sed -i -e 's|${STAGING_INCDIR}|\$\{includedir\}|g' ${D}${datadir}/pkgconfig/cppkafka.pc
}