ANTLR: Upgrade to version 3.4
Closes Homebrew/homebrew#7324. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This commit is contained in:
parent
f05f31d1c1
commit
a01c9ff770
1 changed files with 6 additions and 6 deletions
|
@ -1,16 +1,16 @@
|
|||
require 'formula'
|
||||
|
||||
class Antlr < Formula
|
||||
url "http://www.antlr.org/download/antlr-3.3-complete.jar"
|
||||
version '3.3'
|
||||
url "http://www.antlr.org/download/antlr-3.4-complete.jar"
|
||||
version '3.4'
|
||||
homepage 'http://www.antlr.org/'
|
||||
md5 '238becce7da69f7be5c5b8a65558cf63'
|
||||
md5 '1b91dea1c7d480b3223f7c8a9aa0e172'
|
||||
|
||||
def install
|
||||
prefix.install "antlr-3.3-complete.jar"
|
||||
(bin+"antlr-3.3").write <<-EOS.undent
|
||||
prefix.install "antlr-3.4-complete.jar"
|
||||
(bin+"antlr-3.4").write <<-EOS.undent
|
||||
#!/bin/sh
|
||||
java -jar #{prefix}/antlr-3.3-complete.jar "$@"
|
||||
java -jar #{prefix}/antlr-3.4-complete.jar "$@"
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue