forked from daurnimator/lua-systemd
-
Notifications
You must be signed in to change notification settings - Fork 1
/
systemd-scm-0.rockspec
61 lines (61 loc) · 1.53 KB
/
systemd-scm-0.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
49
50
51
52
53
54
55
56
57
58
59
60
61
package = "systemd"
version = "scm-0"
source = {
url = "git://github.com/daurnimator/lua-systemd"
}
description = {
summary = "Lua bindings to systemd",
homepage = "https://github.com/daurnimator/lua-systemd",
license = "MIT/X11"
}
dependencies = {
"lua >= 5.0, < 5.4"
}
build = {
type = "builtin",
modules = {
["systemd"] = "src/init.lua",
["systemd.daemon"] = "src/daemon.lua",
["systemd.daemon.core"] = {
sources = {
"src/daemon.c",
"vendor/compat-5.3/c-api/compat-5.3.c",
},
defines = { "_GNU_SOURCE" }, -- for RTLD_DEFAULT
libraries = { "systemd" },
incdirs = { "vendor/compat-5.3/c-api/" }
},
["systemd.id128"] = "src/id128.lua",
["systemd.id128.core"] = {
sources = {
"src/id128.c",
"src/messages.c",
"vendor/compat-5.3/c-api/compat-5.3.c",
},
defines = { "_GNU_SOURCE" }, -- for RTLD_DEFAULT
libraries = { "systemd" },
incdirs = { "vendor/compat-5.3/c-api/" }
},
["systemd.journal"] = "src/journal.lua",
["systemd.journal.core"] = {
sources = {
"src/journal.c",
"vendor/compat-5.3/c-api/compat-5.3.c",
},
defines = { "_GNU_SOURCE" }, -- for RTLD_DEFAULT
libraries = { "systemd" },
incdirs = { "vendor/compat-5.3/c-api/" }
},
["systemd.login"] = "src/login.lua",
["systemd.login.core"] = {
sources = {
"src/login.c",
"vendor/compat-5.3/c-api/compat-5.3.c",
},
defines = { "_GNU_SOURCE" }, -- for RTLD_DEFAULT
libraries = { "systemd" },
incdirs = { "vendor/compat-5.3/c-api/" }
},
["systemd.messages"] = "src/messages.lua"
}
}