1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 EGO_PN="github.com/ksonnet/ksonnet"
8 inherit golang-build golang-vcs-snapshot bash-completion-r1
10 ARCHIVE_URI="https://github.com/ksonnet/ksonnet/archive/v${PV}.tar.gz -> ${P}.tar.gz"
13 DESCRIPTION="CLI-supported framework for extensible Kubernetes configurations"
14 HOMEPAGE="https://github.com/ksonnet/ksonnet http://ksonnet.heptio.com/"
15 SRC_URI="${ARCHIVE_URI}"
25 sed -i -e "s/EXTRA_GO_FLAGS =/EXTRA_GO_FLAGS = -v /"\
26 -e "s/VERSION =.*/VERSION = ${PV}/" src/${EGO_PN}/Makefile || die
30 pushd src/${EGO_PN} || die
31 GOPATH="${S}" emake ks
36 pushd src/${EGO_PN} || die