summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/kafkacat/Manifest1
-rw-r--r--net-misc/kafkacat/kafkacat-1.3.1.ebuild28
-rw-r--r--net-misc/kafkacat/metadata.xml11
3 files changed, 40 insertions, 0 deletions
diff --git a/net-misc/kafkacat/Manifest b/net-misc/kafkacat/Manifest
new file mode 100644
index 000000000000..431458364e72
--- /dev/null
+++ b/net-misc/kafkacat/Manifest
@@ -0,0 +1 @@
+DIST kafkacat-1.3.1.tar.gz 52117 SHA256 385f231d7edee417c71b43f6f9d6dd843e9e41bff1bd30483792c6271c09b12b SHA512 98e51c7ad4a3bb1eda8587af5e4d9ce164d26a9511470799a8379e89d2462397eb51e80ccde6a5c9240b99b014f7ca2c6d494a576de3e0be65df744ebc56d758 WHIRLPOOL 7f501fc7ed9bd2d5a83cc50b70bb31176a7878905d3d3f3c2682b0ac5f82b43bb356b5066622d4a9216ef73e9689d1827cd657b4820233b82b52404fc09c82d3
diff --git a/net-misc/kafkacat/kafkacat-1.3.1.ebuild b/net-misc/kafkacat/kafkacat-1.3.1.ebuild
new file mode 100644
index 000000000000..607a27250bd7
--- /dev/null
+++ b/net-misc/kafkacat/kafkacat-1.3.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Generic command line non-JVM Apache Kafka producer and consumer"
+HOMEPAGE="https://github.com/edenhill/kafkacat"
+SRC_URI="https://github.com/edenhill/kafkacat/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+json"
+
+DEPEND=">=dev-libs/librdkafka-0.9.4
+ json? ( dev-libs/yajl )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf $(use_enable json) --cc=$(tc-getCC)
+}
+
+src_install() {
+ default
+ doman ${PN}.1
+}
diff --git a/net-misc/kafkacat/metadata.xml b/net-misc/kafkacat/metadata.xml
new file mode 100644
index 000000000000..e69573dd7d4f
--- /dev/null
+++ b/net-misc/kafkacat/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <use>
+ <flag name="json">Enable json support</flag>
+ </use>
+</pkgmetadata>