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.

23 lines
809 B

cask 'virtualbox-extension-pack-beta' do
version '5.1.3,109191'
sha256 '0c621f9c630fe801d4e754a86dc9963a1c93d13d286dad4214d0c530b8ced5ae'
url "http://www.virtualbox.org/download/testcase/Oracle_VM_VirtualBox_Extension_Pack-#{version.before_comma}-#{version.after_comma}.vbox-extpack"
name 'Oracle VirtualBox Extension Pack'
homepage 'https://www.virtualbox.org'
license :closed
depends_on cask: 'virtualbox-beta'
container type: :naked
stage_only true
postflight do
system 'sudo', 'VBoxManage', 'extpack', 'install', '--replace', "#{staged_path}/Oracle_VM_VirtualBox_Extension_Pack-#{version.before_comma}-#{version.after_comma}.vbox-extpack"
end
uninstall_postflight do
system 'sudo', 'VBoxManage', 'extpack', 'uninstall', 'Oracle VM VirtualBox Extension Pack'
end
end