2015-12-18 09:15:28 +08:00
|
|
|
cask 'virtual-ii' do
|
2015-01-09 07:57:38 +08:00
|
|
|
if MacOS.release <= :leopard
|
2015-01-07 10:14:24 +08:00
|
|
|
version '6.3.7'
|
|
|
|
sha256 '518c40b94039db64a26664cd8644e0e06dc71e7e8c72ca65294c01836464b770'
|
2015-12-04 10:45:27 +08:00
|
|
|
url "http://virtualii.com/VirtualII_#{version.gsub('.', '_')}.dmg"
|
2015-01-07 10:14:24 +08:00
|
|
|
else
|
2015-01-09 07:57:38 +08:00
|
|
|
version :latest
|
|
|
|
sha256 :no_check
|
2015-01-07 10:14:24 +08:00
|
|
|
url 'http://virtualii.com/VirtualII.dmg'
|
|
|
|
end
|
|
|
|
|
|
|
|
name 'Virtual ]['
|
|
|
|
homepage 'http://virtualii.com/'
|
2015-01-09 10:24:40 +08:00
|
|
|
license :freemium
|
2015-01-07 10:14:24 +08:00
|
|
|
|
2015-01-17 11:04:44 +08:00
|
|
|
# There is no sub-folder in the DMG; the root *is* the folder
|
2016-01-18 09:27:20 +08:00
|
|
|
suite '.', target: 'Virtual ]['
|
2015-01-07 10:14:24 +08:00
|
|
|
|
|
|
|
caveats <<-EOS.undent
|
|
|
|
This app requires a ROM image, which must be downloaded and installed
|
|
|
|
separately. See #{homepage}VirtualIIHelp/virtual_II_help.html#ROMImage
|
|
|
|
for more info.
|
|
|
|
EOS
|
|
|
|
end
|