blob: cf2d93316973e024b0d6082756e0642126a30909 [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 \
Andrew Geissler9aee5002022-03-30 16:27:02 +000012"
Patrick Williams705982a2024-01-12 09:51:57 -060013SRCREV = "91ac543cbd2228588dcf24a6ca357f8be0f4e5ab"
Andrew Geisslere34f8962021-04-15 15:53:51 -050014
Patrick Williams705982a2024-01-12 09:51:57 -060015BASEPV = "0.4.0"
16PV = "${BASEPV}+git"
17
18DEPENDS = "librdkafka curl boost chrpath-replacement-native"
Andrew Geisslere34f8962021-04-15 15:53:51 -050019
20inherit cmake
21
Patrick Williams705982a2024-01-12 09:51:57 -060022EXTRA_OECMAKE = "-DCPPKAFKA_BUILD_SHARED=ON"
23
Andrew Geisslere34f8962021-04-15 15:53:51 -050024S = "${WORKDIR}/git"
25
Patrick Williams213cb262021-08-07 19:21:33 -050026do_install:append(){
Patrick Williams705982a2024-01-12 09:51:57 -060027 chrpath -d ${D}${libdir}/libcppkafka.so.${BASEPV}
Patrick Williamsb542dec2023-06-09 01:26:37 -050028 sed -i -e 's|${STAGING_INCDIR}|\$\{includedir\}|g' ${D}${datadir}/pkgconfig/cppkafka.pc
Andrew Geisslere34f8962021-04-15 15:53:51 -050029}