package/lua-mqtt: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Francois Perrad 2022-11-09 09:34:40 +01:00 committed by Thomas Petazzoni
parent 72fa60dc10
commit c4fa02ee63
4 changed files with 26 additions and 0 deletions

View File

@ -722,6 +722,7 @@ menu "Lua libraries/modules"
source "package/lua-lyaml/Config.in"
source "package/lua-markdown/Config.in"
source "package/lua-messagepack/Config.in"
source "package/lua-mqtt/Config.in"
source "package/lua-msgpack-native/Config.in"
source "package/lua-periphery/Config.in"
source "package/lua-resty-http/Config.in"

View File

@ -0,0 +1,11 @@
config BR2_PACKAGE_LUA_MQTT
bool "lua-mqtt"
depends on BR2_PACKAGE_LUA_5_3 || BR2_PACKAGE_LUA_5_4
help
client library for MQTT 3.1.1 & 5.
https://fperrad.frama.io/lua-mqtt
comment "lua-mqtt needs a Lua >= 5.3"
depends on !BR2_PACKAGE_LUA_5_3
depends on !BR2_PACKAGE_LUA_5_4

View File

@ -0,0 +1,3 @@
# computed by luarocks/buildroot
sha256 986ec63dd9f0761f9c5231f6e19529138602c289e13da5c71dc1449f5f247152 lua-mqtt-0.1.0-1.src.rock
sha256 e86d7c8adfabcb7c6515cc6e524bf0a76f7b3a86560a7ac47d7cabae5f8391a2 lua-mqtt-0.1.0/COPYRIGHT

View File

@ -0,0 +1,11 @@
################################################################################
#
# lua-mqtt
#
################################################################################
LUA_MQTT_VERSION = 0.1.0-1
LUA_MQTT_LICENSE = MIT
LUA_MQTT_LICENSE_FILES = $(LUA_MQTT_SUBDIR)/COPYRIGHT
$(eval $(luarocks-package))