summaryrefslogtreecommitdiff
path: root/sys-kernel/virtualbox-modules-dkms
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-07-22 14:00:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-07-22 14:00:03 +0100
commit4fba3df69a74aa85954b99c2bd26d73ace36bbd8 (patch)
tree5f6b12a937a3bf26b9b381e823a957300712aece /sys-kernel/virtualbox-modules-dkms
parent76b7b30d297237fd1ffd699899343791d7b6ccc4 (diff)
app-emulation/virtualbox{extpack-oracle,guest-additions,modules} && sys-kernel/virtualbox{guest-dkms,modules-dkms} && x11-drivers/xf86-video-virtualbox : version bump
Diffstat (limited to 'sys-kernel/virtualbox-modules-dkms')
-rw-r--r--sys-kernel/virtualbox-modules-dkms/Manifest1
-rw-r--r--sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.1.24-r1706.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/sys-kernel/virtualbox-modules-dkms/Manifest b/sys-kernel/virtualbox-modules-dkms/Manifest
index 2b5a3be2..3ea54f8b 100644
--- a/sys-kernel/virtualbox-modules-dkms/Manifest
+++ b/sys-kernel/virtualbox-modules-dkms/Manifest
@@ -1 +1,2 @@
DIST vbox-kernel-module-src-5.1.22.tar.xz 620064 SHA256 e4d92a9cc6eb677d75364cb09f7e47360f80fb80f434caea2cc65b25853f94c4 SHA512 e38f67cc36bdb5b98546816eb66ad29b5b93830afa12e850ae00aae4382acd13e1a25d9c7f3e8bfb5e42636499798c95eb632c599ab96e51c55e0a77fa693e73 WHIRLPOOL c90c86e2c4c78c82f25c3c97d6efc13d5f098bd6266ad4f7b5a62f79d0dc2c2a823ec955b0d58d72aa363475b2ff784634b50742be40fc801f62707928e405b7
+DIST vbox-kernel-module-src-5.1.24.tar.xz 625508 SHA256 279e8ac5d5342896c63fd94dfe04d2462f759318b1dfc9eb3a617fbf8cc5e683 SHA512 2a2de8b4b328234470ed5f2209d792efef0c81251c20e45c13b923865fe5855d76512f17f8727daa17c10b09306748f70c1ec588a027c31645f7c676f96fca4c WHIRLPOOL eeaea483c46e0533053aff80af1f990fbaaeb073c7fbe535ec8425be6e73840c332dc3f22ccb0b6cd3b0f05a24fd206beb50dcdf8edf0245f4fa5be957bbb8d7
diff --git a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.1.24-r1706.ebuild b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.1.24-r1706.ebuild
new file mode 100644
index 00000000..00923566
--- /dev/null
+++ b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.1.24-r1706.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+MY_P=vbox-kernel-module-src-${PV}
+DESCRIPTION="Kernel Modules source 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/dkms"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_prepare() {
+ grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:'
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ cp ${FILESDIR}/dkms.conf ${S}
+ dodir /usr/src/${P}
+ insinto /usr/src/${P}
+ doins -r ${S}/*
+}
+
+pkg_postinst() {
+ dkms add ${PN}/${PV}
+}
+
+pkg_prerm() {
+ dkms remove ${PN}/${PV} --all
+}