diff options
Diffstat (limited to 'sys-cluster/cilium-cli')
-rw-r--r-- | sys-cluster/cilium-cli/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/cilium-cli/cilium-cli-0.13.0.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/sys-cluster/cilium-cli/Manifest b/sys-cluster/cilium-cli/Manifest index 28e4b6795b43..7c9469e26722 100644 --- a/sys-cluster/cilium-cli/Manifest +++ b/sys-cluster/cilium-cli/Manifest @@ -1 +1,2 @@ DIST cilium-cli-0.12.1.tar.gz 20888710 BLAKE2B 70444c6aeab762f2107a6e38c28157913d623059e6e95819dcbf9de657e573ffe10bc11f6fac68a2fed589d44b53cd1ad31266002479a253fe6a43db010022b9 SHA512 337a62dce0f7947da46ec9b6162c5c9a6d81770f40ce88413e29be561eef9e91824552356646c357166b474f9fbb40c916eeae4061833d1d9b0dec821ec75c7c +DIST cilium-cli-0.13.0.tar.gz 23869352 BLAKE2B 49498257f73b7e854ec8683c34919ea6d93798a5ebcb6b7c50ebb9fcffd48751d67636f6f0f6e45d307fcf5d24bc3269db682995e311bdad40eb1e981cf3379f SHA512 cb249016ebe9da8780216cf3d7a56cdb98f28498c508ebca654f527530130e2891013d7457d13d5e16bccbde87e6f59ac6de2b807dc34bf77cc6caf8f83e07a6 diff --git a/sys-cluster/cilium-cli/cilium-cli-0.13.0.ebuild b/sys-cluster/cilium-cli/cilium-cli-0.13.0.ebuild new file mode 100644 index 000000000000..c5a7cc937cac --- /dev/null +++ b/sys-cluster/cilium-cli/cilium-cli-0.13.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Next generation command line interface for cilium" +HOMEPAGE="https://cilium.io" +SRC_URI="https://github.com/cilium/cilium-cli/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +src_prepare() { + default + sed -i -e 's/-race//' Makefile || die +} + +src_compile() { + emake VERSION=v${PV} +} + +src_test() { + emake test +} + +src_install() { + dobin cilium +} |