summaryrefslogtreecommitdiff
path: root/net-misc/kafkacat/kafkacat-1.5.0.ebuild
blob: 911a01bcf83810c67500fb52e59bc0103470b7a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2019 Gentoo Authors
# 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
}