summaryrefslogtreecommitdiff
path: root/homebrew/libantlr3c/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libantlr3c/.beer')
-rw-r--r--homebrew/libantlr3c/.beer24
1 files changed, 24 insertions, 0 deletions
diff --git a/homebrew/libantlr3c/.beer b/homebrew/libantlr3c/.beer
new file mode 100644
index 000000000..ee07c9838
--- /dev/null
+++ b/homebrew/libantlr3c/.beer
@@ -0,0 +1,24 @@
+{
+ "name": "Libantlr3c",
+ "description": "ANTLRv3 parsing library for C",
+ "url": "https://www.antlr3.org/download/C/libantlr3c-3.4.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.antlr3.org/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "args = [\"--disable-dependency-tracking\",",
+ "\"--disable-antlrdebug\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--enable-64bit\"]",
+ "system \"./configure\", *args",
+ "inreplace \"Makefile\" do |s|",
+ "cflags = s.get_make_var \"CFLAGS\"",
+ "cflags = cflags << \" -fexceptions\"",
+ "s.change_make_var! \"CFLAGS\", cflags"
+ ],
+ "version": "3.4",
+ "file": "libantlr3c.rb"
+} \ No newline at end of file