-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathljuv-dev-1.rockspec
39 lines (34 loc) · 1012 Bytes
/
ljuv-dev-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
rockspec_format = "3.0"
package = "ljuv"
version = "dev-1"
source = {
url = "https://imagicthecat.thul.fr/fossils/ljuv/zip/trunk/ljuv-dev.zip"
}
description = {
summary = "Module built on libuv and LuaJIT 2.1.",
detailed = [[
A main event loop combined with coroutines can be a way to nicely parallelize and synchronize various operations; one of the computing problems.
Not only a binding to libuv, the module aims to expose different levels of abstraction and address problems like multi-threading.
]],
homepage = "https://imagicthecat.thul.fr/fossils/ljuv",
license = "MIT"
}
dependencies = {
"lua == 5.1"
}
external_dependencies = {
LIBUV = { header = "uv.h" }
}
build = {
modules = {
ljuv = "src/ljuv.lua",
["ljuv.libuv"] = "src/ljuv/libuv.lua",
["ljuv.wrapper"] = "src/ljuv/wrapper.lua",
["ljuv.wrapper_c"] = {
sources = {"src/wrapper.c"},
libraries = {"uv"}
},
["ljuv.api"] = "src/ljuv/api.lua",
["ljuv.thread"] = "src/ljuv/thread.lua"
}
}