All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/lua-mqtt: new package
@ 2022-11-09  8:34 Francois Perrad
  2022-11-22 22:29 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2022-11-09  8:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 package/Config.in              |  1 +
 package/lua-mqtt/Config.in     | 11 +++++++++++
 package/lua-mqtt/lua-mqtt.hash |  3 +++
 package/lua-mqtt/lua-mqtt.mk   | 11 +++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 package/lua-mqtt/Config.in
 create mode 100644 package/lua-mqtt/lua-mqtt.hash
 create mode 100644 package/lua-mqtt/lua-mqtt.mk

diff --git a/package/Config.in b/package/Config.in
index 78d4d924d..1894fc0b3 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/lua-mqtt/Config.in b/package/lua-mqtt/Config.in
new file mode 100644
index 000000000..b71331905
--- /dev/null
+++ b/package/lua-mqtt/Config.in
@@ -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
diff --git a/package/lua-mqtt/lua-mqtt.hash b/package/lua-mqtt/lua-mqtt.hash
new file mode 100644
index 000000000..3636e9e6a
--- /dev/null
+++ b/package/lua-mqtt/lua-mqtt.hash
@@ -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
diff --git a/package/lua-mqtt/lua-mqtt.mk b/package/lua-mqtt/lua-mqtt.mk
new file mode 100644
index 000000000..a2f17d2b2
--- /dev/null
+++ b/package/lua-mqtt/lua-mqtt.mk
@@ -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))
-- 
2.37.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/lua-mqtt: new package
  2022-11-09  8:34 [Buildroot] [PATCH] package/lua-mqtt: new package Francois Perrad
@ 2022-11-22 22:29 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-11-22 22:29 UTC (permalink / raw)
  To: Francois Perrad; +Cc: buildroot

On Wed,  9 Nov 2022 09:34:40 +0100
Francois Perrad <fperrad@gmail.com> wrote:

> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
>  package/Config.in              |  1 +
>  package/lua-mqtt/Config.in     | 11 +++++++++++
>  package/lua-mqtt/lua-mqtt.hash |  3 +++
>  package/lua-mqtt/lua-mqtt.mk   | 11 +++++++++++
>  4 files changed, 26 insertions(+)
>  create mode 100644 package/lua-mqtt/Config.in
>  create mode 100644 package/lua-mqtt/lua-mqtt.hash
>  create mode 100644 package/lua-mqtt/lua-mqtt.mk

Applied to next, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-22 22:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-09  8:34 [Buildroot] [PATCH] package/lua-mqtt: new package Francois Perrad
2022-11-22 22:29 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.