forked from cloudwu/hive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hive-0.1-1.rockspec
48 lines (45 loc) · 955 Bytes
/
hive-0.1-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
48
package = "hive"
version = "0.1-1"
source = {
url = "http://..." -- We don't have one yet
}
description = {
summary = "Parallel multiple lua states.",
detailed = [[
Hive is a small library to provide parallel
multiple lua states . It works like an erlang
system . You can use actor model in lua.
]],
homepage = "https://github.com/cloudwu/hive",
license = "MIT/X11",
maintainer = "云风 <[email protected]>"
}
supported_platforms = {
"unix",
"windows",
"macosx",
}
dependencies = {
"lua >= 5.2, < 5.3"
}
build = {
type = "builtin",
modules = {
hive = "hive.lua",
["hive.system"] = "hive/system.lua",
["hive.socket"] = "hive/socket.lua",
["hive.core"] = {
sources = {
"src/hive.c",
"src/hive_cell.c" ,
"src/hive_seri.c" ,
"src/hive_scheduler.c" ,
"src/hive_env.c" ,
"src/hive_cell_lib.c" ,
"src/hive_system_lib.c" ,
"src/hive_socket_lib.c",
},
libraries = { "pthread" },
}
},
}