Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 1 | SUMMARY = "high level C++ wrapper for rdkafka" |
| 2 | DESCRIPTION = "cppkafka allows C++ applications to consume and produce messages using the Apache Kafka protocol." |
| 3 | HOMEPAGE = "https://github.com/mfontanini/cppkafka" |
| 4 | SECTION = "lib" |
| 5 | LICENSE = "BSD-2-Clause" |
| 6 | |
| 7 | LIC_FILES_CHKSUM = " \ |
| 8 | file://LICENSE;md5=d8b4ca15d239dc1485ef495c8f1bcc72 \ |
| 9 | " |
| 10 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 11 | SRC_URI = "git://github.com/mfontanini/cppkafka;protocol=https;branch=master \ |
| 12 | file://0001-cmake-Use-CMAKE_INSTALL_LIBDIR.patch \ |
| 13 | " |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 14 | SRCREV = "5e4b350806d561473138ce7a982e8f6cf2e77733" |
| 15 | |
| 16 | DEPENDS = "librdkafka boost chrpath-replacement-native" |
| 17 | |
| 18 | inherit cmake |
| 19 | |
| 20 | S = "${WORKDIR}/git" |
| 21 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 22 | do_install:append(){ |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 23 | chrpath -d ${D}${libdir}/libcppkafka.so.0.3.1 |
Patrick Williams | b542dec | 2023-06-09 01:26:37 -0500 | [diff] [blame] | 24 | sed -i -e 's|${STAGING_INCDIR}|\$\{includedir\}|g' ${D}${datadir}/pkgconfig/cppkafka.pc |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 25 | } |