summaryrefslogtreecommitdiff
path: root/homebrew/moarvm/.beer
blob: 845287d54a67ee2c175f851ffa29e2959ac4f72d (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
{
    "name": "Moarvm",
    "description": "Virtual machine for NQP and Rakudo Perl 6",
    "url": "https://moarvm.org/releases/MoarVM-2019.03.tar.gz",
    "mirror": null,
    "homepage": "https://moarvm.org",
    "depends": [
        {
            "depend": "libatomic_ops",
            "build-depend": false
        },
        {
            "depend": "libffi",
            "build-depend": false
        },
        {
            "depend": "libtommath",
            "build-depend": false
        },
        {
            "depend": "libuv",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "libffi = Formula[\"libffi\"]",
        "ENV.prepend \"CPPFLAGS\", \"-I#{libffi.opt_lib}/libffi-#{libffi.version}/include\"",
        "configure_args = %W[",
        "--has-libatomic_ops",
        "--has-libffi",
        "--has-libtommath",
        "--has-libuv",
        "--optimize",
        "--prefix=#{prefix}",
        "]",
        "system \"perl\", \"Configure.pl\", *configure_args",
        "system \"make\", \"realclean\"",
        "system \"make\"",
        "system \"make\", \"install\""
    ],
    "version": "2019.03",
    "file": "moarvm.rb"
}