2014-11-14 01:27:18 +08:00
|
|
|
cask :v1 => 'virtualbox' do
|
2015-07-09 23:10:33 +08:00
|
|
|
version '5.0.0-101573'
|
|
|
|
sha256 '4e27a30af6e4b0f6b1ea69485237d52fc57e6b5608cc234c9480ac0538b31402'
|
2014-06-27 08:01:52 +08:00
|
|
|
|
2014-12-27 01:17:30 +08:00
|
|
|
url "http://download.virtualbox.org/virtualbox/#{version.sub(/-.*$/, '')}/VirtualBox-#{version}-OSX.dmg"
|
2015-01-05 05:18:55 +08:00
|
|
|
name 'VirtualBox'
|
2015-06-02 06:50:26 +08:00
|
|
|
homepage 'https://www.virtualbox.org'
|
2014-12-02 04:01:55 +08:00
|
|
|
license :gpl
|
2015-01-05 05:18:55 +08:00
|
|
|
tags :vendor => 'Oracle'
|
2014-06-27 08:01:52 +08:00
|
|
|
|
2014-09-10 23:37:08 +08:00
|
|
|
pkg 'VirtualBox.pkg'
|
2015-01-14 04:43:27 +08:00
|
|
|
binary '/Applications/VirtualBox.app/Contents/MacOS/VBoxManage'
|
|
|
|
binary '/Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless'
|
2014-11-22 22:12:47 +08:00
|
|
|
|
2014-09-28 15:47:57 +08:00
|
|
|
uninstall :script => { :executable => 'VirtualBox_Uninstall.tool', :args => %w[--unattended] },
|
|
|
|
:pkgutil => 'org.virtualbox.pkg.*'
|
2012-11-12 15:25:37 +08:00
|
|
|
end
|