# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

COMMIT="7b451fc"

DESCRIPTION="Enterprise Kubernetes for Developers"
HOMEPAGE="https://www.openshift.org"
SRC_URI="https://github.com/openshift/origin/releases/download/v${PV}/openshift-origin-client-tools-v${PV}-${COMMIT}-linux-64bit.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"

RESTRICT="binchecks strip"

S="${WORKDIR}/openshift-origin-client-tools-v${PV}-${COMMIT}-linux-64bit"

src_install() {
  dobin oc
  dodoc README.md
  dodoc LICENSE
}