aboutsummaryrefslogtreecommitdiffstats
path: root/rockspecs
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2020-07-09 22:56:47 +1000
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2020-07-09 22:56:47 +1000
commitde60088d19ff006b4feceb780e97a15611fe2905 (patch)
treef33c3c0e1ff38f18b539f5435aef4582473e7f77 /rockspecs
parent942e9fb5c80368fe93ca195bc14272b2d4cd2881 (diff)
downloadluaossl-de60088d19ff006b4feceb780e97a15611fe2905.tar.gz
luaossl-de60088d19ff006b4feceb780e97a15611fe2905.tar.bz2
luaossl-de60088d19ff006b4feceb780e97a15611fe2905.zip
Squashed 'vendor/compat53/' changes from daebe77..7b783fb
7b783fb Fix repository name in rockspec 7e2b0b5 Add bit32 library 931652a Make it usable on Lua 5.4 a1735f6 Update backports to Lua 5.3.5 versions 01a43c0 Fix feature detection for strerror_r 71293f7 Fix structure initialization in compat53 lua_load 73fb49f Make test C module compile as C++ again. d7f9021 Link to `lua_getextraspace` quirks in README.md. 45ae6fe Improve `lua_getextraspace` tests. c325be4 Add an implementation of `lua_getextraspace()`. 3c76f8f Add rockspec for v0.7 release. git-subtree-dir: vendor/compat53 git-subtree-split: 7b783fb8efac60de8be91522d5731a9716e83d56
Diffstat (limited to 'rockspecs')
-rw-r--r--rockspecs/bit32-5.3.5-1.rockspec28
-rw-r--r--rockspecs/bit32-scm-1.rockspec28
-rw-r--r--rockspecs/compat53-0.7-1.rockspec32
-rw-r--r--rockspecs/compat53-0.8-1.rockspec32
-rw-r--r--rockspecs/compat53-scm-0.rockspec4
5 files changed, 122 insertions, 2 deletions
diff --git a/rockspecs/bit32-5.3.5-1.rockspec b/rockspecs/bit32-5.3.5-1.rockspec
new file mode 100644
index 0000000..e27dedb
--- /dev/null
+++ b/rockspecs/bit32-5.3.5-1.rockspec
@@ -0,0 +1,28 @@
+package = "bit32"
+version = "5.3.5-1"
+source = {
+ url = "https://github.com/keplerproject/lua-compat-5.3/archive/v0.9.zip",
+ dir = "lua-compat-5.3-0.9",
+}
+description = {
+ summary = "Lua 5.2 bit manipulation library",
+ detailed = [[
+ bit32 is the native Lua 5.2 bit manipulation library, in the version
+ from Lua 5.3; it is compatible with Lua 5.1, 5.2 and 5.3.
+ ]],
+ homepage = "http://www.lua.org/manual/5.2/manual.html#6.7",
+ license = "MIT"
+}
+dependencies = {
+ "lua >= 5.1, < 5.5"
+}
+build = {
+ type = "builtin",
+ modules = {
+ bit32 = {
+ sources = { "lbitlib.c" },
+ defines = { "LUA_COMPAT_BITLIB" },
+ incdirs = { "c-api" },
+ }
+ }
+}
diff --git a/rockspecs/bit32-scm-1.rockspec b/rockspecs/bit32-scm-1.rockspec
new file mode 100644
index 0000000..cce77de
--- /dev/null
+++ b/rockspecs/bit32-scm-1.rockspec
@@ -0,0 +1,28 @@
+package = "bit32"
+version = "scm-1"
+source = {
+ url = "https://github.com/keplerproject/lua-compat-5.3/archive/master.zip",
+ branch = "lua-compat-5.3-master",
+}
+description = {
+ summary = "Lua 5.2 bit manipulation library",
+ detailed = [[
+ bit32 is the native Lua 5.2 bit manipulation library, in the version
+ from Lua 5.3; it is compatible with Lua 5.1, 5.2 and 5.3.
+ ]],
+ homepage = "http://www.lua.org/manual/5.2/manual.html#6.7",
+ license = "MIT"
+}
+dependencies = {
+ "lua >= 5.1, < 5.5"
+}
+build = {
+ type = "builtin",
+ modules = {
+ bit32 = {
+ sources = { "lbitlib.c" },
+ defines = { "LUA_COMPAT_BITLIB" },
+ incdirs = { "c-api" },
+ }
+ }
+}
diff --git a/rockspecs/compat53-0.7-1.rockspec b/rockspecs/compat53-0.7-1.rockspec
new file mode 100644
index 0000000..844a3c6
--- /dev/null
+++ b/rockspecs/compat53-0.7-1.rockspec
@@ -0,0 +1,32 @@
+package = "compat53"
+version = "0.7-1"
+source = {
+ url = "https://github.com/keplerproject/lua-compat-5.3/archive/v0.7.zip",
+ dir = "lua-compat-5.3-0.7",
+}
+description = {
+ summary = "Compatibility module providing Lua-5.3-style APIs for Lua 5.2 and 5.1",
+ detailed = [[
+ This is a small module that aims to make it easier to write Lua
+ code in a Lua-5.3-style that runs on Lua 5.3, 5.2, and 5.1.
+ It does *not* make Lua 5.2 (or even 5.1) entirely compatible
+ with Lua 5.3, but it brings the API closer to that of Lua 5.3.
+ ]],
+ homepage = "https://github.com/keplerproject/lua-compat-5.3",
+ license = "MIT"
+}
+dependencies = {
+ "lua >= 5.1, < 5.4",
+ --"struct" -- make Roberto's struct module optional
+}
+build = {
+ type = "builtin",
+ modules = {
+ ["compat53.init"] = "compat53/init.lua",
+ ["compat53.module"] = "compat53/module.lua",
+ ["compat53.utf8"] = "lutf8lib.c",
+ ["compat53.table"] = "ltablib.c",
+ ["compat53.string"] = "lstrlib.c",
+ }
+}
+
diff --git a/rockspecs/compat53-0.8-1.rockspec b/rockspecs/compat53-0.8-1.rockspec
new file mode 100644
index 0000000..0ab17a0
--- /dev/null
+++ b/rockspecs/compat53-0.8-1.rockspec
@@ -0,0 +1,32 @@
+package = "compat53"
+version = "0.8-1"
+source = {
+ url = "https://github.com/keplerproject/lua-compat-5.3/archive/v0.8.zip",
+ dir = "lua-compat-5.3-0.8",
+}
+description = {
+ summary = "Compatibility module providing Lua-5.3-style APIs for Lua 5.2 and 5.1",
+ detailed = [[
+ This is a small module that aims to make it easier to write Lua
+ code in a Lua-5.3-style that runs on Lua 5.1+.
+ It does *not* make Lua 5.2 (or even 5.1) entirely compatible
+ with Lua 5.3, but it brings the API closer to that of Lua 5.3.
+ ]],
+ homepage = "https://github.com/keplerproject/lua-compat-5.3",
+ license = "MIT"
+}
+dependencies = {
+ "lua >= 5.1, < 5.5",
+ --"struct" -- make Roberto's struct module optional
+}
+build = {
+ type = "builtin",
+ modules = {
+ ["compat53.init"] = "compat53/init.lua",
+ ["compat53.module"] = "compat53/module.lua",
+ ["compat53.utf8"] = "lutf8lib.c",
+ ["compat53.table"] = "ltablib.c",
+ ["compat53.string"] = "lstrlib.c",
+ }
+}
+
diff --git a/rockspecs/compat53-scm-0.rockspec b/rockspecs/compat53-scm-0.rockspec
index 317e18c..a83dfca 100644
--- a/rockspecs/compat53-scm-0.rockspec
+++ b/rockspecs/compat53-scm-0.rockspec
@@ -8,7 +8,7 @@ description = {
summary = "Compatibility module providing Lua-5.3-style APIs for Lua 5.2 and 5.1",
detailed = [[
This is a small module that aims to make it easier to write Lua
- code in a Lua-5.3-style that runs on Lua 5.3, 5.2, and 5.1.
+ code in a Lua-5.3-style that runs on Lua 5.1+.
It does *not* make Lua 5.2 (or even 5.1) entirely compatible
with Lua 5.3, but it brings the API closer to that of Lua 5.3.
]],
@@ -16,7 +16,7 @@ description = {
license = "MIT"
}
dependencies = {
- "lua >= 5.1, < 5.4",
+ "lua >= 5.1, < 5.5",
--"struct" -- make Roberto's struct module optional
}
build = {