summaryrefslogtreecommitdiff
path: root/app-emulation/virtualbox-modules/virtualbox-modules-5.1.22.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/virtualbox-modules/virtualbox-modules-5.1.22.ebuild')
-rw-r--r--app-emulation/virtualbox-modules/virtualbox-modules-5.1.22.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.22.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.22.ebuild
new file mode 100644
index 00000000..e8b50e38
--- /dev/null
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.22.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils user
+
+MY_P=vbox-kernel-module-src-${PV}
+DESCRIPTION="Kernel Modules for Virtualbox"
+HOMEPAGE="http://www.virtualbox.org/"
+SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="=sys-kernel/${PN}-dkms-${PV}"
+RDEPEND="${DEPEND}
+ !=app-emulation/virtualbox-9999"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ enewgroup vboxusers
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ insinto /usr/lib/modules-load.d/
+ doins "${FILESDIR}"/virtualbox.conf
+}