Skip to content

Commit fa13cb3

Browse files
committed
Add 1.3-0 rockspec
1 parent 74bc25e commit fa13cb3

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

rockspecs/lua-zlib-1.3-0.rockspec

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
package = "lua-zlib"
2+
version = "1.3-0"
3+
source = {
4+
url = "git+https://github.com/brimworks/lua-zlib.git",
5+
tag = "v1.3",
6+
}
7+
description = {
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+
}
18+
dependencies = {
19+
"lua >= 5.1, <= 5.4"
20+
}
21+
external_dependencies = {
22+
ZLIB = {
23+
header = "zlib.h"
24+
}
25+
}
26+
27+
build = {
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+
}

0 commit comments

Comments
 (0)