diff options
-rw-r--r-- | rockspecs/bit32-5.3.5.1-1.rockspec | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/rockspecs/bit32-5.3.5.1-1.rockspec b/rockspecs/bit32-5.3.5.1-1.rockspec new file mode 100644 index 0000000..ab5d6a7 --- /dev/null +++ b/rockspecs/bit32-5.3.5.1-1.rockspec | |||
@@ -0,0 +1,28 @@ | |||
1 | package = "bit32" | ||
2 | version = "5.3.5.1-1" | ||
3 | source = { | ||
4 | url = "https://github.com/keplerproject/lua-compat-5.3/archive/v0.10.zip", | ||
5 | dir = "lua-compat-5.3-0.10", | ||
6 | } | ||
7 | description = { | ||
8 | summary = "Lua 5.2 bit manipulation library", | ||
9 | detailed = [[ | ||
10 | bit32 is the native Lua 5.2 bit manipulation library, in the version | ||
11 | from Lua 5.3; it is compatible with Lua 5.1, 5.2, 5.3 and 5.4. | ||
12 | ]], | ||
13 | homepage = "http://www.lua.org/manual/5.2/manual.html#6.7", | ||
14 | license = "MIT" | ||
15 | } | ||
16 | dependencies = { | ||
17 | "lua >= 5.1, < 5.5" | ||
18 | } | ||
19 | build = { | ||
20 | type = "builtin", | ||
21 | modules = { | ||
22 | bit32 = { | ||
23 | sources = { "lbitlib.c" }, | ||
24 | defines = { "LUA_COMPAT_BITLIB" }, | ||
25 | incdirs = { "c-api" }, | ||
26 | } | ||
27 | } | ||
28 | } | ||