homebrew-cask/Casks/tcl.rb

17 lines
613 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'tcl' do
2016-01-04 00:59:25 +08:00
version '8.6.4.1.299124'
sha256 '6dff63e0250a059f64cd1b7b2ceb4bb1dff58571345c8ebdfbae1ebfef39d760'
2014-11-12 00:14:24 +08:00
# activestate.com is the official download host per the vendor homepage
url "https://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'
homepage 'https://tcl.tk/'
2014-11-12 00:14:24 +08:00
license :oss
2015-07-01 04:55:37 +08:00
depends_on :macos => '>= :leopard'
pkg "ActiveTcl-#{version.sub(%r{^(\d+)\.(\d+).*}, '\1.\2')}.pkg"
2014-11-12 00:14:24 +08:00
uninstall :pkgutil => "com.activestate.pkg.ActiveTcl#{version.sub(%r{^(\d+)\.(\d+).*}, '\1\2')}"
2014-11-12 00:14:24 +08:00
end