-
Notifications
You must be signed in to change notification settings - Fork 15
/
luamqttc-1.1.4-1.rockspec
49 lines (45 loc) · 1.78 KB
/
luamqttc-1.1.4-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
49
package = "luamqttc"
version = "1.1.4-1"
source = {
url = "git://github.com/Yongke/luamqttc.git",
tag = "v1.1.4"
}
description = {
summary = "A lua mqtt client",
detailed = [[
A lua mqtt client which is based on the paho Embedded MQTT C Client Libraries.
]],
homepage = "https://github.com/Yongke/luamqttc",
license = "EPL/EDL"
}
dependencies = {
"lua >= 5.1", "luasocket", "luasec"
}
build = {
type = "builtin",
modules = {
mqttpacket = {
sources = {
"deps/lua-compat-5.2/compat-5.2.c",
"deps/org.eclipse.paho.mqtt.embedded-c/MQTTPacket/src/MQTTConnectClient.c",
"deps/org.eclipse.paho.mqtt.embedded-c/MQTTPacket/src/MQTTConnectServer.c",
"deps/org.eclipse.paho.mqtt.embedded-c/MQTTPacket/src/MQTTDeserializePublish.c",
"deps/org.eclipse.paho.mqtt.embedded-c/MQTTPacket/src/MQTTFormat.c",
"deps/org.eclipse.paho.mqtt.embedded-c/MQTTPacket/src/MQTTPacket.c",
"deps/org.eclipse.paho.mqtt.embedded-c/MQTTPacket/src/MQTTSerializePublish.c",
"deps/org.eclipse.paho.mqtt.embedded-c/MQTTPacket/src/MQTTSubscribeClient.c",
"deps/org.eclipse.paho.mqtt.embedded-c/MQTTPacket/src/MQTTSubscribeServer.c",
"deps/org.eclipse.paho.mqtt.embedded-c/MQTTPacket/src/MQTTUnsubscribeClient.c",
"deps/org.eclipse.paho.mqtt.embedded-c/MQTTPacket/src/MQTTUnsubscribeServer.c",
"src/luamqttpacket.c"
},
incdirs = { "deps/org.eclipse.paho.mqtt.embedded-c/MQTTPacket/src", "deps/lua-compat-5.2" }
}
},
install = {
lua = {
["luamqttc.client"] = "src/client.lua",
["luamqttc.timer"] = "src/timer.lua"
}
}
}