summaryrefslogtreecommitdiff
path: root/homebrew/libantlr3c/.beer
blob: ee07c9838b790096a060b9df1c980f47fda02e02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"
}