Created
October 27, 2014 14:15
-
-
Save Gui13/9e4a07b07da6683d67ba to your computer and use it in GitHub Desktop.
Antlr3 Brew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Antlr < Formula | |
url "http://www.antlr3.org/download/antlr-3.4-complete.jar" | |
version '3.4' | |
homepage 'http://www.antlr.org/' | |
md5 '1b91dea1c7d480b3223f7c8a9aa0e172' | |
def install | |
prefix.install "antlr-3.4-complete.jar" | |
(bin+"antlr-3.4").write <<-EOS.undent | |
#!/bin/sh | |
java -jar #{prefix}/antlr-3.4-complete.jar "$@" | |
EOS | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment