* [gentoo-commits] proj/kvm-tools:master commit in: app-emulation/kvm-init-script/files/, /, profiles/, ...
@ 2012-04-14 6:26 Brian Harring
0 siblings, 0 replies; only message in thread
From: Brian Harring @ 2012-04-14 6:26 UTC (permalink / raw
To: gentoo-commits
commit: e473943b8b30f17adee7d4a7e14c992ee8554200
Author: Brian Harring <ferringb <AT> chromium <DOT> org>
AuthorDate: Sat Apr 14 04:51:07 2012 +0000
Commit: Brian Harring <ferringb <AT> gentoo <DOT> org>
CommitDate: Sat Apr 14 06:23:28 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kvm-tools.git;a=commit;h=e473943b
convert this into a usable ebuild repository
---
.../kvm-init-script/files/kvm-conf.example | 0
.../kvm-init-script/files/kvm-init-script | 0
.../kvm-init-script/files/qtap-manipulate | 2 ++
.../kvm-init-script/kvm-init-script-0.1.ebuild | 19 +++++++++++++++++++
metadata/layout.conf | 2 ++
profiles/repo_name | 1 +
6 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/kvm-conf.example b/app-emulation/kvm-init-script/files/kvm-conf.example
similarity index 100%
rename from kvm-conf.example
rename to app-emulation/kvm-init-script/files/kvm-conf.example
diff --git a/kvm-init-script b/app-emulation/kvm-init-script/files/kvm-init-script
similarity index 100%
rename from kvm-init-script
rename to app-emulation/kvm-init-script/files/kvm-init-script
diff --git a/qtap-manipulate b/app-emulation/kvm-init-script/files/qtap-manipulate
old mode 100755
new mode 100644
similarity index 95%
rename from qtap-manipulate
rename to app-emulation/kvm-init-script/files/qtap-manipulate
index 09727ec..426bc78
--- a/qtap-manipulate
+++ b/app-emulation/kvm-init-script/files/qtap-manipulate
@@ -1,4 +1,6 @@
#!/bin/sh
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public Licens
has() {
local desired=$1 x
diff --git a/app-emulation/kvm-init-script/kvm-init-script-0.1.ebuild b/app-emulation/kvm-init-script/kvm-init-script-0.1.ebuild
new file mode 100644
index 0000000..685ec69
--- /dev/null
+++ b/app-emulation/kvm-init-script/kvm-init-script-0.1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EGIT_REPO_URI="git://pkgcore.org/kvm-tools"
+inherit git-2
+
+DESCRIPTION="Kvm and qemu init scripts"
+SRC_URI=''
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+PDEPEND="|| ( app-emulation/qemu-kvm app-emulation/qemu )"
+
+src_install() {
+ newinitd "${FILESDIR}"/kvm-init-script kvm
+ newconfd "${FILESDIR}"/kvm-conf.example kvm.conf.example
+ newsbin "${FILESDIR}"/qtap-manipulate qtap-manipulate
+}
diff --git a/metadata/layout.conf b/metadata/layout.conf
new file mode 100644
index 0000000..ca9fee1
--- /dev/null
+++ b/metadata/layout.conf
@@ -0,0 +1,2 @@
+masters = gentoo
+thin-manifests = true
diff --git a/profiles/repo_name b/profiles/repo_name
new file mode 100644
index 0000000..68ebe70
--- /dev/null
+++ b/profiles/repo_name
@@ -0,0 +1 @@
+kvm-tools
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-04-14 6:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-14 6:26 [gentoo-commits] proj/kvm-tools:master commit in: app-emulation/kvm-init-script/files/, /, profiles/, Brian Harring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox