2014-11-14 01:25:41 +08:00
|
|
|
cask :v1 => 'deeper' do
|
2014-09-17 19:42:42 +08:00
|
|
|
version :latest
|
2014-05-08 20:51:31 +08:00
|
|
|
sha256 :no_check
|
2014-06-27 08:01:07 +08:00
|
|
|
|
2014-12-11 00:55:19 +08:00
|
|
|
if MacOS.release == :tiger
|
2014-12-02 10:33:08 +08:00
|
|
|
url 'http://www.titanium.free.fr/download/104/Deeper.dmg'
|
2014-12-11 00:55:19 +08:00
|
|
|
elsif MacOS.release == :leopard
|
2014-12-02 10:33:08 +08:00
|
|
|
url 'http://www.titanium.free.fr/download/105/Deeper.dmg'
|
2014-12-11 00:55:19 +08:00
|
|
|
elsif MacOS.release == :snow_leopard
|
2014-12-02 10:33:08 +08:00
|
|
|
url 'http://www.titanium.free.fr/download/106/Deeper.dmg'
|
2014-12-11 00:55:19 +08:00
|
|
|
elsif MacOS.release == :lion
|
2014-12-02 10:33:08 +08:00
|
|
|
url 'http://www.titanium.free.fr/download/107/Deeper.dmg'
|
2014-12-11 00:55:19 +08:00
|
|
|
elsif MacOS.release == :mountain_lion
|
2014-12-02 10:33:08 +08:00
|
|
|
url 'http://www.titanium.free.fr/download/108/Deeper.dmg'
|
2014-12-11 00:55:19 +08:00
|
|
|
elsif MacOS.release == :mavericks
|
2014-12-02 10:33:08 +08:00
|
|
|
url 'http://www.titanium.free.fr/download/109/Deeper.dmg'
|
2014-12-11 00:55:19 +08:00
|
|
|
elsif MacOS.release == :yosemite
|
2014-12-02 10:33:08 +08:00
|
|
|
url 'http://www.titanium.free.fr/download/1010/Deeper.dmg'
|
2014-12-05 04:29:21 +08:00
|
|
|
else
|
2015-01-05 23:40:34 +08:00
|
|
|
# Unusual case: there is no fall-through. The software will stop
|
|
|
|
# working, or is dangerous to run, on the next OS X release.
|
2014-12-02 10:33:08 +08:00
|
|
|
end
|
|
|
|
|
2015-03-28 01:07:40 +08:00
|
|
|
name 'Deeper'
|
2015-01-25 00:03:55 +08:00
|
|
|
homepage 'http://www.titanium.free.fr/deeper.html'
|
2015-01-24 09:46:54 +08:00
|
|
|
license :gratis
|
2014-06-27 08:01:07 +08:00
|
|
|
|
2014-09-16 00:05:27 +08:00
|
|
|
app 'Deeper.app'
|
2014-10-07 22:39:32 +08:00
|
|
|
|
2014-12-03 22:14:38 +08:00
|
|
|
depends_on :macos => %w{
|
|
|
|
:tiger
|
|
|
|
:leopard
|
|
|
|
:snow_leopard
|
|
|
|
:lion
|
|
|
|
:mountain_lion
|
|
|
|
:mavericks
|
|
|
|
:yosemite
|
|
|
|
}
|
2014-12-02 10:33:08 +08:00
|
|
|
|
2014-12-03 22:14:38 +08:00
|
|
|
caveats do
|
2014-12-11 00:55:19 +08:00
|
|
|
if [:leopard, :tiger].include?(MacOS.release.to_sym)
|
2014-12-03 22:14:38 +08:00
|
|
|
puts 'Deeper only runs from an Administrator account on this version of OS X.'
|
2014-12-02 10:33:08 +08:00
|
|
|
end
|
|
|
|
end
|
2013-10-30 20:11:16 +08:00
|
|
|
end
|