aboutsummaryrefslogtreecommitdiff
path: root/binary/lua-zlib-1.2-0.rockspec
diff options
context:
space:
mode:
Diffstat (limited to 'binary/lua-zlib-1.2-0.rockspec')
-rw-r--r--binary/lua-zlib-1.2-0.rockspec39
1 files changed, 39 insertions, 0 deletions
diff --git a/binary/lua-zlib-1.2-0.rockspec b/binary/lua-zlib-1.2-0.rockspec
new file mode 100644
index 00000000..dd0c4a15
--- /dev/null
+++ b/binary/lua-zlib-1.2-0.rockspec
@@ -0,0 +1,39 @@
1package = "lua-zlib"
2version = "1.2-0"
3source = {
4 url = "git://github.com/brimworks/lua-zlib.git",
5 tag = "v1.2",
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.3"
20}
21external_dependencies = {
22 ZLIB = {
23 header = "zlib.h",
24 library = "z",
25 }
26}
27
28build = {
29 type = "builtin",
30 modules = {
31 zlib = {
32 sources = { "lua_zlib.c" },
33 libraries = { "z" },
34 defines = { "LZLIB_COMPAT" },
35 incdirs = { "$(ZLIB_INCDIR)" },
36 libdirs = { "$(ZLIB_LIBDIR)" },
37 }
38 },
39}