mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-06 13:15:19 +02:00
Change upstream to github.com/kt315/zookeepercli who added a go module build and sent it to openark here: https://github.com/openark/zookeepercli/pull/2 Closes: https://bugs.gentoo.org/937726 Signed-off-by: Zac Medico <zmedico@gentoo.org>
22 lines
534 B
Bash
22 lines
534 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
inherit go-module
|
|
|
|
DESCRIPTION="Simple, lightweight, dependable CLI for ZooKeeper"
|
|
HOMEPAGE="https://github.com/kt315/zookeepercli"
|
|
SRC_URI="https://github.com/kt315/zookeepercli/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
LICENSE="Apache-2.0"
|
|
LICENSE+=" BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
src_compile() {
|
|
ego build -ldflags "-X main.Version=${PV}" -o ./bin/${PN}
|
|
}
|
|
|
|
src_install() {
|
|
dobin bin/${PN}
|
|
dodoc README.md
|
|
}
|