homebrew-core/Formula/antlr.rb
2013-07-16 19:44:03 -05:00

12 lines
337 B
Ruby

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