diff options
Diffstat (limited to 'homebrew/lmod')
-rw-r--r-- | homebrew/lmod/.beer | 45 | ||||
-rw-r--r-- | homebrew/lmod/.make.sh-auto | 9 | ||||
-rw-r--r-- | homebrew/lmod/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/lmod/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/lmod/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/lmod/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/lmod/download.sh | 1 |
7 files changed, 59 insertions, 0 deletions
diff --git a/homebrew/lmod/.beer b/homebrew/lmod/.beer new file mode 100644 index 000000000..fc8adf035 --- /dev/null +++ b/homebrew/lmod/.beer @@ -0,0 +1,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" +}
\ No newline at end of file diff --git a/homebrew/lmod/.make.sh-auto b/homebrew/lmod/.make.sh-auto new file mode 100644 index 000000000..de938acc0 --- /dev/null +++ b/homebrew/lmod/.make.sh-auto @@ -0,0 +1,9 @@ +pkg:setup +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 +luarocks make --tree=#{luapath} diff --git a/homebrew/lmod/_metadata/description b/homebrew/lmod/_metadata/description new file mode 100644 index 000000000..64e5d3af5 --- /dev/null +++ b/homebrew/lmod/_metadata/description @@ -0,0 +1 @@ +Lua-based environment modules system to modify PATH variable diff --git a/homebrew/lmod/_metadata/homepage b/homebrew/lmod/_metadata/homepage new file mode 100644 index 000000000..dc148ffb4 --- /dev/null +++ b/homebrew/lmod/_metadata/homepage @@ -0,0 +1 @@ +https://www.tacc.utexas.edu/research-development/tacc-projects/lmod diff --git a/homebrew/lmod/_metadata/name b/homebrew/lmod/_metadata/name new file mode 100644 index 000000000..a07ad5425 --- /dev/null +++ b/homebrew/lmod/_metadata/name @@ -0,0 +1 @@ +Lmod diff --git a/homebrew/lmod/_metadata/version b/homebrew/lmod/_metadata/version new file mode 100644 index 000000000..cd1d2e94f --- /dev/null +++ b/homebrew/lmod/_metadata/version @@ -0,0 +1 @@ +8.0.1 diff --git a/homebrew/lmod/download.sh b/homebrew/lmod/download.sh new file mode 100755 index 000000000..0ab8b9ce7 --- /dev/null +++ b/homebrew/lmod/download.sh @@ -0,0 +1 @@ +wget https://github.com/TACC/Lmod/archive/8.0.1.tar.gz
\ No newline at end of file |