app-admin/kubectl-linstor: add new package

This commit is contained in:
2022-11-22 14:14:30 +03:00
parent 3e98f7ba2f
commit 5babbdd182
2 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="A plugin to control a LINSTOR cluster using kubectl"
HOMEPAGE="https://github.com/piraeusdatastore/kubectl-linstor"
SRC_URI="https://github.com/piraeusdatastore/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_compile() {
ego build -o bin/${PN}
}
src_install() {
dobin bin/*
}