summaryrefslogtreecommitdiff
path: root/homebrew/gnucobol/.beer
blob: 1b8bc9578b57f9ed04353c5f573a19680861d5c9 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
    "name": "GnuCobol",
    "description": "Implements much of the COBOL 85 and COBOL 2002 standards",
    "url": "https://downloads.sourceforge.net/project/open-cobol/gnu-cobol/2.2/gnucobol-2.2.tar.xz",
    "mirror": null,
    "homepage": "https://sourceforge.net/projects/open-cobol/",
    "depends": [
        {
            "depend": "berkeley-db",
            "build-depend": false
        },
        {
            "depend": "gmp",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [
        {
            "conflict": "open-cobol",
            "reason": null
        }
    ],
    "patches": [],
    "install": [
        "gmp = Formula[\"gmp\"]",
        "bdb = Formula[\"berkeley-db\"]",
        "ENV.append \"CPPFLAGS\", \"-I#{gmp.opt_include} -I#{bdb.opt_include}\"",
        "ENV.append \"LDFLAGS\", \"-L#{gmp.opt_lib} -L#{bdb.opt_lib}\"",
        "system \"./configure\", \"--disable-debug\",",
        "\"--disable-dependency-tracking\",",
        "\"--disable-silent-rules\",",
        "\"--prefix=#{prefix}\",",
        "\"--with-libiconv-prefix=/usr\",",
        "\"--with-libintl-prefix=/usr\"",
        "system \"make\", \"install\""
    ],
    "version": "2.2",
    "file": "gnu-cobol.rb"
}