commit: b902488bdc020caae4082e4370db574df2f2
Author: Manuel Rüger gentoo org>
AuthorDate: Sun Nov 6 17:04:31 2016 +
Commit: Manuel Rüger gentoo org>
CommitDate: Sun Nov 6 17:04:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b902488b
app-emulation/runv: Initial version
Package-Manager: portage-2.3.2
app-emulation/runv/Manifest | 1 +
app-emulation/runv/metadata.xml | 15
app-emulation/runv/runv-0.7.0.ebuild | 46
3 files changed, 62 insertions(+)
diff --git a/app-emulation/runv/Manifest b/app-emulation/runv/Manifest
new file mode 100644
index ..f3035f9
--- /dev/null
+++ b/app-emulation/runv/Manifest
@@ -0,0 +1 @@
+DIST runv-0.7.0.tar.gz 1143867 SHA256
13107bdcaa2217f870c3b4a18d490984eea1e372947d7e4725aab1166d366697 SHA512
1303d4ca99186d9f5c1db4257acecf1702546a084942cc4c51de8685c6841da45be72c78f32ab38e2addb80dc40fe4d022d0fcae7b7d6b6d62a30f434cea178c
WHIRLPOOL
a5a7eabeeccab89b5202cad0762f366fd80d6eb52552681124eb636809b28444855561a5849429f78643b14eba576323c7999f2c892caaf5211505e80f72d928
diff --git a/app-emulation/runv/metadata.xml b/app-emulation/runv/metadata.xml
new file mode 100644
index ..648b9ce
--- /dev/null
+++ b/app-emulation/runv/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+
+ mr...@gentoo.org
+ Manuel Rüger
+
+
+ Enable support for KVM via libvirt
+ Enable support for the Xen Hypervisor
+
+
+ hyperhq/runv
+
+
diff --git a/app-emulation/runv/runv-0.7.0.ebuild
b/app-emulation/runv/runv-0.7.0.ebuild
new file mode 100644
index ..6b0b9d9
--- /dev/null
+++ b/app-emulation/runv/runv-0.7.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+EGO_PN="github.com/hyperhq/runv"
+
+inherit autotools golang-vcs-snapshot
+
+DESCRIPTION="Hypervisor-based Runtime for OCI"
+HOMEPAGE="https://github.com/hyperhq/runv;
+SRC_URI="https://github.com/hyperhq/runv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="libvirt xen"
+
+RDEPEND="libvirt? ( >=app-emulation/libvirt-1.2.2 )
+ xen? ( app-emulation/xen )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ pushd src/github.com/hyperhq/runv/ || die
+ default
+ eautoreconf
+ popd
+}
+
+src_configure() {
+ local myeconfargs=( $(use_with libvirt)
+ $(use_with xen) )
+ pushd src/github.com/hyperhq/runv/ || die
+ econf "${myeconfargs[@]}"
+ popd
+}
+
+src_compile() {
+ GOPATH="${S}:$(get_golibdir_gopath)" emake -C
src/github.com/hyperhq/runv/
+}
+
+src_install() {
+ dodoc src/${EGO_PN}/README.md
+ dobin src/${EGO_PN}/runv
+}