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.
39 lines
1.3 KiB
39 lines
1.3 KiB
cask 'virtualbox-extension-pack-beta' do
|
|
version '5.1.23-115145'
|
|
sha256 '2e071872b2b587baf45fd4f61d3f10760c026c69c23907cefe6dbc3c4c484f47'
|
|
|
|
url "https://www.virtualbox.org/download/testcase/Oracle_VM_VirtualBox_Extension_Pack-#{version}.vbox-extpack"
|
|
name 'Oracle VirtualBox Extension Pack'
|
|
homepage 'https://www.virtualbox.org/'
|
|
|
|
depends_on cask: 'virtualbox-beta'
|
|
container type: :naked
|
|
|
|
stage_only true
|
|
|
|
postflight do
|
|
system_command '/usr/local/bin/VBoxManage',
|
|
args: [
|
|
'extpack', 'install',
|
|
'--replace', "#{staged_path}/Oracle_VM_VirtualBox_Extension_Pack-#{version}.vbox-extpack",
|
|
'--accept-license=715c7246dc0f779ceab39446812362b2f9bf64a55ed5d3a905f053cfab36da9e'
|
|
],
|
|
sudo: true
|
|
end
|
|
|
|
uninstall_postflight do
|
|
system_command '/usr/local/bin/VBoxManage',
|
|
args: [
|
|
'extpack', 'uninstall',
|
|
'Oracle VM VirtualBox Extension Pack'
|
|
],
|
|
sudo: true
|
|
end
|
|
|
|
caveats <<-EOS.undent
|
|
Installing this Cask means you have AGREED to the
|
|
VirtualBox Personal Use and Evaluation License at
|
|
|
|
https://www.virtualbox.org/wiki/VirtualBox_PUEL
|
|
EOS
|
|
end
|
|
|