homebrew-core/Formula/antlr.rb

13 lines
337 B
Ruby
Raw Normal View History

require 'formula'
class Antlr < Formula
homepage 'http://www.antlr.org/'
2014-02-16 03:06:12 +00:00
url 'http://www.antlr.org/download/antlr-4.2-complete.jar'
sha1 '2ca46f6c3fee3cde543ec21a800805e9432acab7'
def install
2013-07-17 00:44:03 +00:00
prefix.install "antlr-#{version}-complete.jar"
bin.write_jar_script prefix/"antlr-#{version}-complete.jar", "antlr4"
end
2011-03-10 05:11:03 +00:00
end