You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
743 B
29 lines
743 B
1 year ago
|
# Copyright 2022-2023 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
|
MY_PV="$(ver_cut 1-3)"
|
||
|
MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
|
||
|
MY_P="${MY_PN}-${MY_PV}"
|
||
|
|
||
|
DESCRIPTION="PUEL extensions for VirtualBox"
|
||
|
HOMEPAGE="https://www.virtualbox.org/"
|
||
|
SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
|
||
|
S="${WORKDIR}"
|
||
|
|
||
|
LICENSE="PUEL-11"
|
||
|
SLOT="0/$(ver_cut 1-2)"
|
||
|
KEYWORDS="~amd64"
|
||
|
RESTRICT="bindist mirror strip"
|
||
|
|
||
|
RDEPEND="=app-emulation/virtualbox-${MY_PV}*"
|
||
|
|
||
|
QA_PREBUILT="usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/*"
|
||
|
|
||
|
src_install() {
|
||
|
insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
|
||
|
doins -r linux.${ARCH}
|
||
|
doins ExtPack* PXE-Intel.rom
|
||
|
}
|