blob: fd57e4e283f540e6eebfb1139ac84ef5a46273c3 [file] [log] [blame]
Andrew Geisslere34f8962021-04-15 15:53:51 -05001SUMMARY = "high level C++ wrapper for rdkafka"
2DESCRIPTION = "cppkafka allows C++ applications to consume and produce messages using the Apache Kafka protocol."
3HOMEPAGE = "https://github.com/mfontanini/cppkafka"
4SECTION = "lib"
5LICENSE = "BSD-2-Clause"
6
7LIC_FILES_CHKSUM = " \
8file://LICENSE;md5=d8b4ca15d239dc1485ef495c8f1bcc72 \
9"
10
Andrew Geissler9aee5002022-03-30 16:27:02 +000011SRC_URI = "git://github.com/mfontanini/cppkafka;protocol=https;branch=master \
12 file://0001-cmake-Use-CMAKE_INSTALL_LIBDIR.patch \
13"
Andrew Geisslere34f8962021-04-15 15:53:51 -050014SRCREV = "5e4b350806d561473138ce7a982e8f6cf2e77733"
15
16DEPENDS = "librdkafka boost chrpath-replacement-native"
17
18inherit cmake
19
20S = "${WORKDIR}/git"
21
Patrick Williams213cb262021-08-07 19:21:33 -050022do_install:append(){
Andrew Geisslere34f8962021-04-15 15:53:51 -050023 chrpath -d ${D}${libdir}/libcppkafka.so.0.3.1
Patrick Williamsb542dec2023-06-09 01:26:37 -050024 sed -i -e 's|${STAGING_INCDIR}|\$\{includedir\}|g' ${D}${datadir}/pkgconfig/cppkafka.pc
Andrew Geisslere34f8962021-04-15 15:53:51 -050025}