homebrew-core/Formula/antlr.rb
Brett Koonce 71ac7ec1c8 antlr 4.2
2014-02-15 22:25:45 -06:00

12 lines
337 B
Ruby

require 'formula'
class Antlr < Formula
homepage 'http://www.antlr.org/'
url 'http://www.antlr.org/download/antlr-4.2-complete.jar'
sha1 '2ca46f6c3fee3cde543ec21a800805e9432acab7'
def install
prefix.install "antlr-#{version}-complete.jar"
bin.write_jar_script prefix/"antlr-#{version}-complete.jar", "antlr4"
end
end