diff options
Diffstat (limited to 'binary/lua-zlib-1.4-0.rockspec')
| -rw-r--r-- | binary/lua-zlib-1.4-0.rockspec | 55 |
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 @@ | |||
| 1 | package = "lua-zlib" | ||
| 2 | version = "1.4-0" | ||
| 3 | source = { | ||
| 4 | url = "git+https://github.com/brimworks/lua-zlib.git", | ||
| 5 | tag = "v1.4", | ||
| 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.5" | ||
| 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 | } | ||
