homebrew-cask/Casks/tcl.rb

17 lines
615 B
Ruby
Raw Normal View History

2014-11-12 00:14:24 +08:00
cask :v1 => 'tcl' do
2015-07-01 04:55:37 +08:00
version '8.6.4.0.298892'
sha256 '2aae9686f40a7216e185877e7bf8421af35f597c20545d565511367587659bb9'
2014-11-12 00:14:24 +08:00
# activestate.com is the official download host per the vendor homepage
url "http://downloads.activestate.com/ActiveTcl/releases/#{version.sub(%r{\.\d+$},'')}/ActiveTcl#{version}-macosx10.5-i386-x86_64-threaded.dmg"
2015-05-09 04:23:24 +08:00
name 'ActiveTcl'
2014-11-12 00:14:24 +08:00
homepage 'http://tcl.tk/'
license :oss
2015-07-01 04:55:37 +08:00
depends_on :macos => '>= :leopard'
2014-11-12 00:14:24 +08:00
pkg "ActiveTcl-#{version.sub(%r{^(\d+)\.(\d+).*},'\1.\2')}.pkg"
uninstall :pkgutil => "com.activestate.pkg.ActiveTcl#{version.sub(%r{^(\d+)\.(\d+).*},'\1\2')}"
end