summaryrefslogtreecommitdiff
path: root/homebrew/lmod/.beer
blob: fc8adf035f532bf1b0548dff928da477117bf6ce (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
{
    "name": "Lmod",
    "description": "Lua-based environment modules system to modify PATH variable",
    "url": "https://github.com/TACC/Lmod/archive/8.0.1.tar.gz",
    "mirror": null,
    "homepage": "https://www.tacc.utexas.edu/research-development/tacc-projects/lmod",
    "depends": [
        {
            "depend": "luarocks",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "lua",
            "build-depend": false
        }
    ],
    "resource": [
        {
            "name": "luafilesystem",
            "url": "https://github.com/keplerproject/luafilesystem/archive/v1_7_0_2.tar.gz"
        },
        {
            "name": "luaposix",
            "url": "https://github.com/luaposix/luaposix/archive/v34.0.4.tar.gz"
        }
    ],
    "conflicts": [],
    "patches": [],
    "install": [
        "luapath = libexec/\"vendor\"",
        "ENV[\"LUA_PATH\"] = \"?.lua;\" \\",
        "\"#{luapath}/share/lua/5.3/?.lua;\" \\",
        "\"#{luapath}/share/lua/5.3/?/init.lua\"",
        "ENV[\"LUA_CPATH\"] = \"#{luapath}/lib/lua/5.3/?.so\"",
        "resources.each do |r|",
        "r.stage do",
        "system \"luarocks\", \"make\", \"--tree=#{luapath}\""
    ],
    "version": "8.0.1",
    "file": "lmod.rb"
}