diff --git a/rockspecs/compat53-0.14.3-1.rockspec b/rockspecs/compat53-0.14.3-1.rockspec new file mode 100644 index 0000000..d6327d7 --- /dev/null +++ b/rockspecs/compat53-0.14.3-1.rockspec @@ -0,0 +1,32 @@ +package = "compat53" +version = "0.14.3-1" +source = { + url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.14.3.zip", + dir = "lua-compat-5.3-0.14.3" +} +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/lunarmodules/lua-compat-5.3", + license = "MIT" +} +dependencies = { + "lua >= 5.1, < 5.5" +} +build = { + type = "builtin", + modules = { + ["compat53.file_mt"] = "compat53/file_mt.lua", + ["compat53.init"] = "compat53/init.lua", + ["compat53.io"] = "liolib.c", + ["compat53.module"] = "compat53/module.lua", + ["compat53.string"] = "lstrlib.c", + ["compat53.table"] = "ltablib.c", + ["compat53.utf8"] = "lutf8lib.c" + } +}