diff options
author | Daniel Lemos <xspager@gmail.com> | 2022-03-15 13:48:34 -0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-03-16 14:14:01 +0000 |
commit | 3063aedb0c5ca7afda8e13ff8fcc063c7bd98678 (patch) | |
tree | dcc2ffceedfde0c785dd633928fee5271fc62692 /Ports/luarocks/package.sh | |
parent | a4e5c6201e662676179d7fb68571bb1a2ec57d6e (diff) | |
download | serenity-3063aedb0c5ca7afda8e13ff8fcc063c7bd98678.zip |
Ports: Add Lua's package manager LuaRocks
Ports: Add LuaRocks to AvailablePorts.md
Ports: Add ReadMe.md for the patches
Diffstat (limited to 'Ports/luarocks/package.sh')
-rwxr-xr-x | Ports/luarocks/package.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Ports/luarocks/package.sh b/Ports/luarocks/package.sh new file mode 100755 index 0000000000..ea3dd01ac4 --- /dev/null +++ b/Ports/luarocks/package.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port=luarocks +version=3.8.0 +useconfigure=true +depends=("lua" "git" "readline") +files="https://luarocks.org/releases/luarocks-${version}.tar.gz luarocks-${version}.tar.gz 56ab9b90f5acbc42eb7a94cf482e6c058a63e8a1effdf572b8b2a6323a06d923" +auth_type=sha256 + +configure() { + run ./configure --with-lua-include=${SERENITY_INSTALL_ROOT}/usr/local/include --prefix=/usr/local --with-lua-interpreter=lua +} + +installopts=("INSTALL_TOP=${SERENITY_INSTALL_ROOT}/usr/local") |