aboutsummaryrefslogtreecommitdiff
path: root/binary/lua-zlib-1.4-0.rockspec
diff options
context:
space:
mode:
authorLuau Project <luau.project@gmail.com>2026-08-11 21:36:19 -0300
committerGitHub <noreply@github.com>2026-08-11 21:36:19 -0300
commit583233460e2a1e22075fa15a5c2fa8feacb16165 (patch)
tree3a8d7741e46595761f5a163903c84af2623c0d2b /binary/lua-zlib-1.4-0.rockspec
parent44a63f61baf90d2187e98415195f8e20fad4050b (diff)
downloadluarocks-583233460e2a1e22075fa15a5c2fa8feacb16165.tar.gz
luarocks-583233460e2a1e22075fa15a5c2fa8feacb16165.tar.bz2
luarocks-583233460e2a1e22075fa15a5c2fa8feacb16165.zip
Bump lua-zlib from 1.2 to 1.4 as part of Lua 5.5 support (#1858)
* chore(deps): bump lua-zlib to 1.4 * refactor: adjust static lib for `lua-zlib` 1.4 rockspec * refactor(ci): remove unused copy of zlib import lib for MSVC
Diffstat (limited to 'binary/lua-zlib-1.4-0.rockspec')
-rw-r--r--binary/lua-zlib-1.4-0.rockspec55
1 files changed, 55 insertions, 0 deletions
diff --git a/binary/lua-zlib-1.4-0.rockspec b/binary/lua-zlib-1.4-0.rockspec
new file mode 100644
index 00000000..bd6cbec3
--- /dev/null
+++ b/binary/lua-zlib-1.4-0.rockspec
@@ -0,0 +1,55 @@
1package = "lua-zlib"
2version = "1.4-0"
3source = {
4 url = "git+https://github.com/brimworks/lua-zlib.git",
5 tag = "v1.4",
6}
7description = {
8 summary = "Simple streaming interface to zlib for Lua.",
9 detailed = [[
10 Simple streaming interface to zlib for Lua.
11 Consists of two functions: inflate and deflate.
12 Both functions return "stream functions" (takes a buffer of input and returns a buffer of output).
13 This project is hosted on github.
14 ]],
15 homepage = "https://github.com/brimworks/lua-zlib",
16 license = "MIT"
17}
18dependencies = {
19 "lua >= 5.1, <= 5.5"
20}
21external_dependencies = {
22 ZLIB = {
23 header = "zlib.h"
24 }
25}
26
27build = {
28 type = "builtin",
29 modules = {
30 zlib = {
31 sources = { "lua_zlib.c" },
32 libraries = { "z" },
33 defines = { "LZLIB_COMPAT" },
34 incdirs = { "$(ZLIB_INCDIR)" },
35 libdirs = { "$(ZLIB_LIBDIR)" }
36 }
37 },
38 platforms = {
39 windows = {
40 modules = {
41 zlib = {
42 libraries = { "zlib" }
43 }
44 }
45 },
46 mingw = {
47 modules = {
48 zlib = {
49 libraries = { "zlib1" },
50 libdirs = { "$(ZLIB_INCDIR)/../bin" }
51 }
52 }
53 }
54 }
55}