diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2023-11-02 13:08:48 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2023-11-02 13:08:48 -0300 |
| commit | 8c7017ec6f49e1768490643647a4fa06461d02b6 (patch) | |
| tree | b80c4d9c2d6b55790e6c46213c6879bf287c1a88 | |
| parent | 21583dc42b05416764716682ba0efaf4f5d3e850 (diff) | |
| download | lua-compat-5.3-0.12.tar.gz lua-compat-5.3-0.12.tar.bz2 lua-compat-5.3-0.12.zip | |
Release: 0.12v0.12
| -rw-r--r-- | rockspecs/compat53-0.12-1.rockspec | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/rockspecs/compat53-0.12-1.rockspec b/rockspecs/compat53-0.12-1.rockspec new file mode 100644 index 0000000..1b120ca --- /dev/null +++ b/rockspecs/compat53-0.12-1.rockspec | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | package = "compat53" | ||
| 2 | version = "0.12-1" | ||
| 3 | source = { | ||
| 4 | url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.12.zip", | ||
| 5 | dir = "lua-compat-5.3-0.12", | ||
| 6 | } | ||
| 7 | description = { | ||
| 8 | summary = "Compatibility module providing Lua-5.3-style APIs for Lua 5.2 and 5.1", | ||
| 9 | detailed = [[ | ||
| 10 | This is a small module that aims to make it easier to write Lua | ||
| 11 | code in a Lua-5.3-style that runs on Lua 5.1+. | ||
| 12 | It does *not* make Lua 5.2 (or even 5.1) entirely compatible | ||
| 13 | with Lua 5.3, but it brings the API closer to that of Lua 5.3. | ||
| 14 | ]], | ||
| 15 | homepage = "https://github.com/lunarmodules/lua-compat-5.3", | ||
| 16 | license = "MIT" | ||
| 17 | } | ||
| 18 | dependencies = { | ||
| 19 | "lua >= 5.1, < 5.5", | ||
| 20 | --"struct" -- make Roberto's struct module optional | ||
| 21 | } | ||
| 22 | build = { | ||
| 23 | type = "builtin", | ||
| 24 | modules = { | ||
| 25 | ["compat53.init"] = "compat53/init.lua", | ||
| 26 | ["compat53.module"] = "compat53/module.lua", | ||
| 27 | ["compat53.utf8"] = "lutf8lib.c", | ||
| 28 | ["compat53.table"] = "ltablib.c", | ||
| 29 | ["compat53.string"] = "lstrlib.c", | ||
| 30 | ["compat53.io"] = "liolib.c", | ||
| 31 | } | ||
| 32 | } | ||
| 33 | |||
