summaryrefslogtreecommitdiff
blob: 2ee1acf081dd535365d82b21f19a46d8db02d5c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

DESCRIPTION="Kvm and qemu init scripts"
SRC_URI=''
LICENSE="GPL-2"
SLOT=0
KEYWORDS="~amd64 ~x86"

RDEPEND="
	|| ( app-emulation/qemu-kvm app-emulation/qemu )
	|| ( net-misc/socat net-analyzer/netcat6 )"

src_install() {
	newinitd "${FILESDIR}"/qemu-init-script qemu
	newconfd "${FILESDIR}"/qemu-conf.example qemu.conf.example
	newsbin "${FILESDIR}"/qtap-manipulate qtap-manipulate
	dosym qemu /etc/init.d/kvm
}