-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmqtt-0.1-0.rockspec
43 lines (40 loc) · 1.07 KB
/
mqtt-0.1-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
package = "mqtt"
version = "0.1-0"
source = {
url = "git://github.com/tacigar/lua-mqtt",
tag = "v0.1-0",
}
description = {
summary = "A MQTT Client Library",
detailed = [[
A MQTT Client Library
]],
license = "GPLv3",
}
build = {
type = "builtin",
modules = {
["mqtt.core.ClientBase"] = {
sources = { "src/client_base.c", "src/token.c", "src/message.c" },
incdirs = { "/src", "$(PAHO_MQTT_INCDIR)" },
libdirs = { "$(PAHO_MQTT_LIBDIR)" },
libraries = { "paho-mqtt3c" },
},
["mqtt.Token"] = {
sources = { "src/token.c" },
incdirs = { "/src", "$(PAHO_MQTT_INCDIR)" },
libdirs = { "$(PAHO_MQTT_LIBDIR)" },
libraries = { "paho-mqtt3c" },
},
["mqtt.core"] = {
sources = { "src/mqtt.c" },
incdirs = { "/src", "$(PAHO_MQTT_INCDIR)" },
libdirs = { "$(PAHO_MQTT_LIBDIR)" },
libraries = { "paho-mqtt3c" },
},
["mqtt"] = "src/init.lua",
["mqtt.ClientBase"] = "src/client_base.lua",
["mqtt.Client"] = "src/client.lua",
["mqtt.AsyncClient"] = "src/async_client.lua",
},
}