diff options
author | Daniel Gryniewicz <dang@gentoo.org> | 2008-04-08 23:26:39 +0000 |
---|---|---|
committer | Daniel Gryniewicz <dang@gentoo.org> | 2008-04-08 23:26:39 +0000 |
commit | 76deb2f9f965f1cc28a1494625ce266fbff56204 (patch) | |
tree | bb093080b17f96b7828fa8e2f4d0740e441e50c1 /app-emulation/kvm/kvm-65.ebuild | |
parent | Add my own ck-sources (diff) | |
download | maintainer-76deb2f9f965f1cc28a1494625ce266fbff56204.tar.gz maintainer-76deb2f9f965f1cc28a1494625ce266fbff56204.tar.bz2 maintainer-76deb2f9f965f1cc28a1494625ce266fbff56204.zip |
Bump to 65
svn path=/maintainer/; revision=83
Diffstat (limited to 'app-emulation/kvm/kvm-65.ebuild')
-rw-r--r-- | app-emulation/kvm/kvm-65.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-emulation/kvm/kvm-65.ebuild b/app-emulation/kvm/kvm-65.ebuild new file mode 100644 index 0000000..d4dd286 --- /dev/null +++ b/app-emulation/kvm/kvm-65.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +#inherit linux-mod multilib + +DESCRIPTION="KVM Virtualization package" +HOMEPAGE="http://kvm.qumranet.com/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +#IUSE="inkernel" + +RDEPEND="media-libs/libsdl + media-libs/alsa-lib + !app-emulation/qemu" +DEPEND="${RDEPEND}" + +#pkg_setup() { +# MODULE_NAMES="kvm(drivers/kvm:${S}/kernel) \ +# kvm-intel(drivers/kvm:${S}/kernel) \ +# kvm-amd(drivers/kvm:${S}/kernel)" +# linux-mod_pkg_setup +#} + +src_compile() { + MYCONF="--prefix=/usr --disable-gcc-check --qemu-cc=gcc" + ./configure ${MYCONF} || die "configure failed" + + BUILD_TARGETS="clean all" + linux-mod_src_compile + cd kernel + ARCH="$(tc-arch-kernel)" emake || die "making kernel module failed" + cd .. + emake -C libkvm || die "making libkvm failed" + emake -C user || die "making user failed" + emake -C qemu || die "making qemu failed" + emake || die "make failed" +} + +src_install() { +# addpredict /$(get_libdir)/modules/${KV_FULL} + linux-mod_src_install + emake -C libkvm DESTDIR=${D} install || die "installing user failed" + emake -C qemu DESTDIR=${D} install || die "installing qemu failed" +# emake DESTDIR=${D} install || die "install failed" + + rm ${D}/usr/include/linux/kvm.h +} |