diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-07-02 19:27:48 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-07-02 19:27:48 -0300 |
commit | 8dd1e1460282f5fc992d838ec2411f4d1bc7b2b7 (patch) | |
tree | 5b6e88d37869bad4a23cfd52424e91fa34d34176 /binary/lua-zlib-1.2-0.rockspec | |
parent | 672b4f191ac5723ee460e469d58fff2ca2cb386b (diff) | |
download | luarocks-8dd1e1460282f5fc992d838ec2411f4d1bc7b2b7.tar.gz luarocks-8dd1e1460282f5fc992d838ec2411f4d1bc7b2b7.tar.bz2 luarocks-8dd1e1460282f5fc992d838ec2411f4d1bc7b2b7.zip |
Experimental Windows cross-compiled binary build
This commit consolidates the work that has been ongoing over the
last few weeks in producing the single-binary builds of LuaRocks
based on the new distribution model described in
https://github.com/luarocks/luarocks/wiki/Project:-LuaRocks-new-distribution-model
The single-binary build is in a good shape for Linux,
it's a work-in-progress for Windows (binaries do build,
but some work on the dependencies is still necessary),
and is untested in macOS.
Diffstat (limited to 'binary/lua-zlib-1.2-0.rockspec')
-rw-r--r-- | binary/lua-zlib-1.2-0.rockspec | 39 |
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 @@ | |||
1 | package = "lua-zlib" | ||
2 | version = "1.2-0" | ||
3 | source = { | ||
4 | url = "git://github.com/brimworks/lua-zlib.git", | ||
5 | tag = "v1.2", | ||
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.3" | ||
20 | } | ||
21 | external_dependencies = { | ||
22 | ZLIB = { | ||
23 | header = "zlib.h", | ||
24 | library = "z", | ||
25 | } | ||
26 | } | ||
27 | |||
28 | build = { | ||
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 | } | ||