summaryrefslogtreecommitdiff
path: root/app-emulation/virtualbox-modules/virtualbox-modules-5.1.22.ebuild
blob: e8b50e38772ee8b2cfe09800ee5a6855738ae182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
}