-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathluachild-scm-1.rockspec
47 lines (47 loc) · 1.14 KB
/
luachild-scm-1.rockspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package = "luachild"
version = "scm-1"
source = {
url = "git://github.com/pocomane/luachild",
}
description = {
summary = "Spawn sub-processes and communicate with them through pipes.",
homepage = "https://github.com/pocomane/luachild",
license = "MIT",
detailed = [[
Luachild is a lua module to spawn system processes and perform basic
communication with them, i.e. pipes and environment variables set. It is
compatible with lua 5.3 and luajit 2.1 and it works under windows and any os
with posix spawn+environ api (e.g. linux). The code was extracted by the
LuaDist "Ex" API implementation 2007.]]
}
supported_platforms = {
"unix",
"windows",
}
dependencies = {
"lua >= 5.2, <= 5.3",
}
build = {
platforms = {
unix = {
type = "builtin",
modules = {
["luachild"] = {
defines = { "USE_POSIX" },
incdirs = { "./" },
sources = { "luachild.c" },
},
},
},
windows = {
type = "builtin",
modules = {
["luachild"] = {
defines = { "USE_WINDOWS" },
incdirs = { "./" },
sources = { "luachild.c" },
},
},
},
},
}