diff options
Diffstat (limited to 'lib/compat53/rockspecs')
19 files changed, 601 insertions, 0 deletions
diff --git a/lib/compat53/rockspecs/bit32-5.3.5-1.rockspec b/lib/compat53/rockspecs/bit32-5.3.5-1.rockspec new file mode 100644 index 0000000..353e19c --- /dev/null +++ b/lib/compat53/rockspecs/bit32-5.3.5-1.rockspec @@ -0,0 +1,28 @@ +package = "bit32" +version = "5.3.5-1" +source = { + url = "https://github.com/lunarmodules/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/lib/compat53/rockspecs/bit32-5.3.5.1-1.rockspec b/lib/compat53/rockspecs/bit32-5.3.5.1-1.rockspec new file mode 100644 index 0000000..371f1ae --- /dev/null +++ b/lib/compat53/rockspecs/bit32-5.3.5.1-1.rockspec @@ -0,0 +1,28 @@ +package = "bit32" +version = "5.3.5.1-1" +source = { + url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.10.zip", + dir = "lua-compat-5.3-0.10", +} +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, 5.3 and 5.4. + ]], + 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/lib/compat53/rockspecs/bit32-scm-1.rockspec b/lib/compat53/rockspecs/bit32-scm-1.rockspec new file mode 100644 index 0000000..78f9736 --- /dev/null +++ b/lib/compat53/rockspecs/bit32-scm-1.rockspec @@ -0,0 +1,28 @@ +package = "bit32" +version = "scm-1" +source = { + url = "https://github.com/lunarmodules/lua-compat-5.3/archive/master.zip", + dir = "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/lib/compat53/rockspecs/compat53-0.1-1.rockspec b/lib/compat53/rockspecs/compat53-0.1-1.rockspec new file mode 100644 index 0000000..b9012fe --- /dev/null +++ b/lib/compat53/rockspecs/compat53-0.1-1.rockspec @@ -0,0 +1,31 @@ +package = "compat53" +version = "0.1-1" +source = { + url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.1.zip", + dir = "lua-compat-5.3-0.1", +} +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/lunarmodules/lua-compat-5.3", + license = "MIT" +} +dependencies = { + "lua >= 5.1, < 5.4", + --"struct" -- make Roberto's struct module optional +} +build = { + type = "builtin", + modules = { + ["compat53"] = "compat53.lua", + ["compat53.utf8"] = "lutf8lib.c", + ["compat53.table"] = "ltablib.c", + ["compat53.string"] = "lstrlib.c", + } +} + diff --git a/lib/compat53/rockspecs/compat53-0.11-1.rockspec b/lib/compat53/rockspecs/compat53-0.11-1.rockspec new file mode 100644 index 0000000..9608f0a --- /dev/null +++ b/lib/compat53/rockspecs/compat53-0.11-1.rockspec @@ -0,0 +1,33 @@ +package = "compat53" +version = "0.11-1" +source = { + url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.11.zip", + dir = "lua-compat-5.3-0.11", +} +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", + --"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", + ["compat53.io"] = "liolib.c", + } +} + diff --git a/lib/compat53/rockspecs/compat53-0.12-1.rockspec b/lib/compat53/rockspecs/compat53-0.12-1.rockspec new file mode 100644 index 0000000..1b120ca --- /dev/null +++ b/lib/compat53/rockspecs/compat53-0.12-1.rockspec @@ -0,0 +1,33 @@ +package = "compat53" +version = "0.12-1" +source = { + url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.12.zip", + dir = "lua-compat-5.3-0.12", +} +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", + --"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", + ["compat53.io"] = "liolib.c", + } +} + diff --git a/lib/compat53/rockspecs/compat53-0.13-1.rockspec b/lib/compat53/rockspecs/compat53-0.13-1.rockspec new file mode 100644 index 0000000..f08dc66 --- /dev/null +++ b/lib/compat53/rockspecs/compat53-0.13-1.rockspec @@ -0,0 +1,32 @@ +package = "compat53" +version = "0.13-1" +source = { + url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.13.zip", + dir = "lua-compat-5.3-0.13" +} +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" + --"struct" -- make Roberto's struct module optional +} +build = { + type = "builtin", + modules = { + ["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" + } +} diff --git a/lib/compat53/rockspecs/compat53-0.14-1.rockspec b/lib/compat53/rockspecs/compat53-0.14-1.rockspec new file mode 100644 index 0000000..54ad4a9 --- /dev/null +++ b/lib/compat53/rockspecs/compat53-0.14-1.rockspec @@ -0,0 +1,33 @@ +package = "compat53" +version = "0.14-1" +source = { + url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.14.zip", + dir = "lua-compat-5.3-0.14" +} +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" + --"struct" -- make Roberto's struct module optional +} +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" + } +} diff --git a/lib/compat53/rockspecs/compat53-0.14.1-1.rockspec b/lib/compat53/rockspecs/compat53-0.14.1-1.rockspec new file mode 100644 index 0000000..ea35bb2 --- /dev/null +++ b/lib/compat53/rockspecs/compat53-0.14.1-1.rockspec @@ -0,0 +1,33 @@ +package = "compat53" +version = "0.14.1-1" +source = { + url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.14.1.zip", + dir = "lua-compat-5.3-0.14.1" +} +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" + --"struct" -- make Roberto's struct module optional +} +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" + } +} diff --git a/lib/compat53/rockspecs/compat53-0.14.2-1.rockspec b/lib/compat53/rockspecs/compat53-0.14.2-1.rockspec new file mode 100644 index 0000000..99236fe --- /dev/null +++ b/lib/compat53/rockspecs/compat53-0.14.2-1.rockspec @@ -0,0 +1,32 @@ +package = "compat53" +version = "0.14.2-1" +source = { + url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.14.2.zip", + dir = "lua-compat-5.3-0.14.2" +} +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" + } +} diff --git a/lib/compat53/rockspecs/compat53-0.14.3-1.rockspec b/lib/compat53/rockspecs/compat53-0.14.3-1.rockspec new file mode 100644 index 0000000..d6327d7 --- /dev/null +++ b/lib/compat53/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" + } +} diff --git a/lib/compat53/rockspecs/compat53-0.14.4-1.rockspec b/lib/compat53/rockspecs/compat53-0.14.4-1.rockspec new file mode 100644 index 0000000..804220f --- /dev/null +++ b/lib/compat53/rockspecs/compat53-0.14.4-1.rockspec @@ -0,0 +1,32 @@ +package = "compat53" +version = "0.14.4-1" +source = { + url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.14.4.zip", + dir = "lua-compat-5.3-0.14.4" +} +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" + } +} diff --git a/lib/compat53/rockspecs/compat53-0.2-1.rockspec b/lib/compat53/rockspecs/compat53-0.2-1.rockspec new file mode 100644 index 0000000..47ddaf2 --- /dev/null +++ b/lib/compat53/rockspecs/compat53-0.2-1.rockspec @@ -0,0 +1,32 @@ +package = "compat53" +version = "0.2-1" +source = { + url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.2.zip", + dir = "lua-compat-5.3-0.2", +} +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/lunarmodules/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/lib/compat53/rockspecs/compat53-0.3-1.rockspec b/lib/compat53/rockspecs/compat53-0.3-1.rockspec new file mode 100644 index 0000000..d99099f --- /dev/null +++ b/lib/compat53/rockspecs/compat53-0.3-1.rockspec @@ -0,0 +1,32 @@ +package = "compat53" +version = "0.3-1" +source = { + url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.3.zip", + dir = "lua-compat-5.3-0.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.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/lunarmodules/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/lib/compat53/rockspecs/compat53-0.4-1.rockspec b/lib/compat53/rockspecs/compat53-0.4-1.rockspec new file mode 100644 index 0000000..bc33826 --- /dev/null +++ b/lib/compat53/rockspecs/compat53-0.4-1.rockspec @@ -0,0 +1,32 @@ +package = "compat53" +version = "0.4-1" +source = { + url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.4.zip", + dir = "lua-compat-5.3-0.4", +} +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/lunarmodules/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/lib/compat53/rockspecs/compat53-0.5-1.rockspec b/lib/compat53/rockspecs/compat53-0.5-1.rockspec new file mode 100644 index 0000000..8d18b51 --- /dev/null +++ b/lib/compat53/rockspecs/compat53-0.5-1.rockspec @@ -0,0 +1,32 @@ +package = "compat53" +version = "0.5-1" +source = { + url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.5.zip", + dir = "lua-compat-5.3-0.5", +} +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/lunarmodules/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/lib/compat53/rockspecs/compat53-0.7-1.rockspec b/lib/compat53/rockspecs/compat53-0.7-1.rockspec new file mode 100644 index 0000000..fc5a0c8 --- /dev/null +++ b/lib/compat53/rockspecs/compat53-0.7-1.rockspec @@ -0,0 +1,32 @@ +package = "compat53" +version = "0.7-1" +source = { + url = "https://github.com/lunarmodules/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/lunarmodules/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/lib/compat53/rockspecs/compat53-0.8-1.rockspec b/lib/compat53/rockspecs/compat53-0.8-1.rockspec new file mode 100644 index 0000000..2fe47b9 --- /dev/null +++ b/lib/compat53/rockspecs/compat53-0.8-1.rockspec @@ -0,0 +1,32 @@ +package = "compat53" +version = "0.8-1" +source = { + url = "https://github.com/lunarmodules/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/lunarmodules/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/lib/compat53/rockspecs/compat53-scm-1.rockspec b/lib/compat53/rockspecs/compat53-scm-1.rockspec new file mode 100644 index 0000000..b0581f9 --- /dev/null +++ b/lib/compat53/rockspecs/compat53-scm-1.rockspec @@ -0,0 +1,34 @@ +package = "compat53" +version = "scm-1" +source = { + url = "https://github.com/lunarmodules/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/lunarmodules/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.file_mt"] = "compat53/file_mt.lua", + ["compat53.utf8"] = "lutf8lib.c", + ["compat53.table"] = "ltablib.c", + ["compat53.string"] = "lstrlib.c", + ["compat53.io"] = "liolib.c", + } +} + |
