summaryrefslogtreecommitdiff
path: root/homebrew/erlangat19/.beer
blob: 506f9ed83f467d029c9b36b315fa5f0ea6a65895 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
    "name": "ErlangAT19",
    "description": "Programming language for highly scalable real-time systems",
    "url": "https://github.com/erlang/otp/archive/OTP-19.3.6.12.tar.gz",
    "mirror": null,
    "homepage": "https://www.erlang.org/",
    "depends": [
        {
            "depend": "autoconf",
            "build-depend": true
        },
        {
            "depend": "automake",
            "build-depend": true
        },
        {
            "depend": "libtool",
            "build-depend": true
        },
        {
            "depend": "openssl",
            "build-depend": false
        },
        {
            "depend": "wxmac",
            "build-depend": false
        }
    ],
    "resource": [
        {
            "name": "man",
            "url": "https://www.erlang.org/download/otp_doc_man_19.3.tar.gz"
        },
        {
            "name": "html",
            "url": "https://www.erlang.org/download/otp_doc_html_19.3.tar.gz"
        }
    ],
    "conflicts": [],
    "patches": [
        {
            "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/1f4a770/erlang%4019/boring-ssl-high-sierra.patch",
            "strip": "1"
        },
        {
            "url": "https://github.com/erlang/otp/commit/a64c4d806fa54848c35632114585ad82b98712e8.diff?full_index=1",
            "strip": "1"
        }
    ],
    "install": [
        "%w[LIBS FLAGS AFLAGS ZFLAGS].each { |k| ENV.delete(\"ERL_#{k}\") }",
        "system \"./otp_build\", \"autoconf\" if File.exist? \"otp_build\"",
        "args = %W[",
        "--disable-debug",
        "--disable-silent-rules",
        "--prefix=#{prefix}",
        "--enable-kernel-poll",
        "--enable-threads",
        "--enable-sctp",
        "--enable-dynamic-ssl-lib",
        "--with-ssl=#{Formula[\"openssl\"].opt_prefix}",
        "--enable-shared-zlib",
        "--enable-smp-support",
        "--enable-wx",
        "--enable-hipe",
        "--without-javac",
        "--enable-darwin-64bit",
        "]",
        "args << \"--with-dynamic-trace=dtrace\" if MacOS::CLT.installed?",
        "system \"./configure\", *args",
        "system \"make\"",
        "system \"make\", \"install\"",
        "(lib/\"erlang\").install resource(\"man\").files(\"man\")",
        "doc.install resource(\"html\")"
    ],
    "version": "19.3.6.12",
    "file": "erlang@19.rb"
}