mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
Ports: Update luarocks to 3.13.0
This commit is contained in:
1 parent
915ff9bd6e
commit
e93b9c4f73
4 files changed
+17
-14
No files matched your search
@@ -205,7 +205,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
|
||||
| [`lrzip`](lrzip/) | lrzip | 0.651 | https://github.com/ckolivas/lrzip |
|
||||
| [`lua`](lua/) | Lua | 5.5.1 | https://www.lua.org/ |
|
||||
| [`luajit`](luajit/) | LuaJIT | 18b087c | https://luajit.org/luajit.html |
|
||||
| [`luarocks`](luarocks/) | LuaRocks | 3.8.0 | https://luarocks.org/ |
|
||||
| [`luarocks`](luarocks/) | LuaRocks | 3.13.0 | https://luarocks.org/ |
|
||||
| [`lure`](lure/) | Lure of the Temptress | 1.1 | https://www.scummvm.org/games/#games-lure |
|
||||
| [`luv`](luv/) | Bare libuv bindings for lua | 1.52.1-0 | https://github.com/luvit/luv |
|
||||
| [`lxt`](lxt/) | linuXtree - an XTree Gold clone | 1.3b | http://stahlke.org/dan/lxt/ |
|
||||
|
||||
@@ -1,14 +1,17 @@
|
||||
#!/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#56ab9b90f5acbc42eb7a94cf482e6c058a63e8a1effdf572b8b2a6323a06d923"
|
||||
port='luarocks'
|
||||
version='3.13.0'
|
||||
useconfigure='true'
|
||||
depends=(
|
||||
'lua'
|
||||
'git'
|
||||
'readline'
|
||||
)
|
||||
files=(
|
||||
"https://luarocks.org/releases/luarocks-${version}.tar.gz#245bf6ec560c042cb8948e3d661189292587c5949104677f1eecddc54dbe7e37"
|
||||
)
|
||||
installopts=("INSTALL_TOP=${SERENITY_INSTALL_ROOT}/usr/local")
|
||||
|
||||
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")
|
||||
@@ -10,7 +10,7 @@ work around our `unzip` command not supporting the flag `-n`
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
diff --git a/src/luarocks/core/cfg.lua b/src/luarocks/core/cfg.lua
|
||||
index 926d479..7c2914b 100644
|
||||
index 1c380e1df582e63d44f432c418ab0a8b6fc27b5d..b990e39c5bc1d071aa7a20eb69fa09cb6fe74020 100644
|
||||
--- a/src/luarocks/core/cfg.lua
|
||||
+++ b/src/luarocks/core/cfg.lua
|
||||
@@ -42,6 +42,7 @@ local platform_order = {
|
||||
@@ -21,7 +21,7 @@ index 926d479..7c2914b 100644
|
||||
-- Windows
|
||||
"windows",
|
||||
"win32",
|
||||
@@ -152,6 +153,7 @@ local platform_sets = {
|
||||
@@ -163,6 +164,7 @@ local platform_sets = {
|
||||
netbsd = { unix = true, bsd = true, netbsd = true },
|
||||
haiku = { unix = true, haiku = true },
|
||||
linux = { unix = true, linux = true },
|
||||
@@ -29,7 +29,7 @@ index 926d479..7c2914b 100644
|
||||
mingw = { windows = true, win32 = true, mingw32 = true, mingw = true },
|
||||
msys = { unix = true, cygwin = true, msys = true },
|
||||
msys2_mingw_w64 = { windows = true, win32 = true, mingw32 = true, mingw = true, msys = true, msys2_mingw_w64 = true },
|
||||
@@ -497,6 +499,12 @@ local function make_defaults(lua_version, target_cpu, platforms, home)
|
||||
@@ -557,6 +559,12 @@ local function make_defaults(lua_version, target_cpu, platforms, home)
|
||||
defaults.variables.MAKE = "gmake"
|
||||
end
|
||||
|
||||
|
||||
@@ -8,10 +8,10 @@ Subject: [PATCH] Detect SerenityOS using the `uname` command
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/src/luarocks/core/sysdetect.lua b/src/luarocks/core/sysdetect.lua
|
||||
index 02b8a49..b05f170 100644
|
||||
index 3a2527f4a5a73e1d1b7e419ca92433817b164d18..d4efb7e63ee05d6c6af6c4e765fcdedc2ea57d96 100644
|
||||
--- a/src/luarocks/core/sysdetect.lua
|
||||
+++ b/src/luarocks/core/sysdetect.lua
|
||||
@@ -189,6 +189,11 @@ local function detect_elf_system(fd, hdr, sections)
|
||||
@@ -282,6 +282,11 @@ local function detect_elf_system(fd, hdr, sections)
|
||||
return "linux"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user