summaryrefslogtreecommitdiff
path: root/repo/librdkafka/librdkafka.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
commitd2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch)
tree684a17eebf446aa1adab1097616f1882c8d51568 /repo/librdkafka/librdkafka.xibuild
parentd1fc3393cca72e8e432f827f7624e38734fad6dc (diff)
added deps for qemu
Diffstat (limited to 'repo/librdkafka/librdkafka.xibuild')
-rw-r--r--repo/librdkafka/librdkafka.xibuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/repo/librdkafka/librdkafka.xibuild b/repo/librdkafka/librdkafka.xibuild
new file mode 100644
index 0000000..74845fc
--- /dev/null
+++ b/repo/librdkafka/librdkafka.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="librdkafka"
+DESC="The Apache Kafka C/C++ library"
+
+MAKEDEPS="bash openssl libsasl lz4 zlib zstd rapidjson"
+
+PKG_VER=1.8.2
+SOURCE="https://github.com/edenhill/librdkafka/archive/v$PKG_VER.tar.gz"
+
+build() {
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+