summaryrefslogtreecommitdiff
path: root/binary/lua-zlib-1.2-0.rockspec
diff options
context:
space:
mode:
authorMike Vink <mike@pionative.com>2025-02-03 21:29:42 +0100
committerMike Vink <mike@pionative.com>2025-02-03 21:29:42 +0100
commit5155816b7b925dec5d5feb1568b1d7ceb00938b9 (patch)
treedeca28ea15e79f6f804c3d90d2ba757881638af5 /binary/lua-zlib-1.2-0.rockspec
fetch tarballHEADmaster
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 0000000..9d3adc8
--- /dev/null
+++ b/binary/lua-zlib-1.2-0.rockspec
@@ -0,0 +1,39 @@
+package = "lua-zlib"
+version = "1.2-0"
+source = {
+ url = "git+https://github.com/brimworks/lua-zlib.git",
+ tag = "v1.2",
+}
+description = {
+ summary = "Simple streaming interface to zlib for Lua.",
+ detailed = [[
+ Simple streaming interface to zlib for Lua.
+ Consists of two functions: inflate and deflate.
+ Both functions return "stream functions" (takes a buffer of input and returns a buffer of output).
+ This project is hosted on github.
+ ]],
+ homepage = "https://github.com/brimworks/lua-zlib",
+ license = "MIT"
+}
+dependencies = {
+ "lua >= 5.1, <= 5.4"
+}
+external_dependencies = {
+ ZLIB = {
+ header = "zlib.h",
+ library = "z",
+ }
+}
+
+build = {
+ type = "builtin",
+ modules = {
+ zlib = {
+ sources = { "lua_zlib.c" },
+ libraries = { "z" },
+ defines = { "LZLIB_COMPAT" },
+ incdirs = { "$(ZLIB_INCDIR)" },
+ libdirs = { "$(ZLIB_LIBDIR)" },
+ }
+ },
+}