31 lines
755 B
Bash
31 lines
755 B
Bash
# Copyright 2022-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# XXX: the tarball here is just the kernel modules split out of the binary
|
|
# package that comes from VirtualBox-*.run
|
|
# XXX: update: now it is split from virtualbox-*-Debian~bullseye_amd64.deb
|
|
|
|
EAPI=8
|
|
|
|
inherit linux-mod-r1 git-r3
|
|
|
|
DESCRIPTION="Module for looking-glass"
|
|
HOMEPAGE="looking-glass.io"
|
|
EGIT_REPO_URI="https://github.com/gnif/LookingGlass.git"
|
|
SLOT="0"
|
|
S="${S}/module"
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
src_compile() {
|
|
local modlist=( kvmfr )
|
|
local modargs=( KVER="${KV_FULL}" )
|
|
linux-mod-r1_src_compile
|
|
}
|
|
|
|
src_install() {
|
|
linux-mod-r1_src_install
|
|
# insinto /usr/lib/modules-load.d/
|
|
# newins "${FILESDIR}"/virtualbox.conf-r1 virtualbox.conf
|
|
}
|