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
|
package = "compat53"
version = "scm-0"
source = {
url = "https://github.com/keplerproject/lua-compat-5.3/archive/master.zip",
dir = "lua-compat-5.3-master",
}
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",
}
}
|