aboutsummaryrefslogtreecommitdiff
path: root/binary/luaposix-34.0.4-1.rockspec
diff options
context:
space:
mode:
Diffstat (limited to 'binary/luaposix-34.0.4-1.rockspec')
-rw-r--r--binary/luaposix-34.0.4-1.rockspec55
1 files changed, 55 insertions, 0 deletions
diff --git a/binary/luaposix-34.0.4-1.rockspec b/binary/luaposix-34.0.4-1.rockspec
new file mode 100644
index 00000000..490715d5
--- /dev/null
+++ b/binary/luaposix-34.0.4-1.rockspec
@@ -0,0 +1,55 @@
1local _MODREV, _SPECREV = '34.0.4', '-1'
2
3package = 'luaposix'
4version = _MODREV .. _SPECREV
5
6description = {
7 summary = 'Lua bindings for POSIX',
8 detailed = [[
9 A library binding various POSIX APIs. POSIX is the IEEE Portable
10 Operating System Interface standard. luaposix is based on lposix.
11 ]],
12 homepage = 'http://github.com/luaposix/luaposix/',
13 license = 'MIT/X11',
14}
15
16dependencies = {
17 'bit32',
18 'lua >= 5.1, < 5.4',
19 'std.normalize',
20}
21
22source = {
23 url = 'http://github.com/luaposix/luaposix/archive/v' .. _MODREV .. '.zip',
24 dir = 'luaposix-' .. _MODREV,
25}
26
27build = {
28 type = 'command',
29 build_command = '$(LUA) build-aux/luke'
30 .. ' package="' .. package .. '"'
31 .. ' version="' .. _MODREV .. '"'
32 .. ' PREFIX="$(PREFIX)"'
33 .. ' LUA="$(LUA)"'
34 .. ' LUA_INCDIR="$(LUA_INCDIR)"'
35 .. ' CFLAGS="$(CFLAGS)"'
36 .. ' LIBFLAG="$(LIBFLAG)"'
37 .. ' LIB_EXTENSION="$(LIB_EXTENSION)"'
38 .. ' OBJ_EXTENSION="$(OBJ_EXTENSION)"'
39 .. ' INST_LIBDIR="$(LIBDIR)"'
40 .. ' INST_LUADIR="$(LUADIR)"'
41 ,
42 install_command = '$(LUA) build-aux/luke install --quiet'
43 .. ' INST_LIBDIR="$(LIBDIR)"'
44 .. ' LIB_EXTENSION="$(LIB_EXTENSION)"'
45 .. ' INST_LUADIR="$(LUADIR)"'
46 ,
47}
48
49if _MODREV == 'git' then
50 dependencies[#dependencies + 1] = 'ldoc'
51
52 source = {
53 url = 'git://github.com/luaposix/luaposix.git',
54 }
55end