All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/libzenoh-pico: new package
@ 2023-10-19  6:08 Michel Alex
  2023-11-01 17:28 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Michel Alex @ 2023-10-19  6:08 UTC (permalink / raw)
  To: buildroot@buildroot.org

zenoh-pico is the Eclipse zenoh implementation that targets constrained
devices and offers a native C API. It is fully compatible with its main
Rust Zenoh implementation, providing a lightweight implementation of
most functionalities.

https://github.com/eclipse-zenoh/zenoh-pico

Signed-off-by: Alex Michel <alex.michel@wiedemann-group.com>
---
 package/Config.in                        |  1 +
 package/libzenoh-pico/Config.in          |  9 +++++++++
 package/libzenoh-pico/libzenoh-pico.hash |  3 +++
 package/libzenoh-pico/libzenoh-pico.mk   | 19 +++++++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100644 package/libzenoh-pico/Config.in
 create mode 100644 package/libzenoh-pico/libzenoh-pico.hash
 create mode 100644 package/libzenoh-pico/libzenoh-pico.mk

diff --git a/package/Config.in b/package/Config.in
index a53b7d29b5..077cf959d8 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1993,6 +1993,7 @@ menu "Networking"
        source "package/libwebsock/Config.in"
        source "package/libwebsockets/Config.in"
        source "package/libyang/Config.in"
+       source "package/libzenoh-pico/Config.in"
        source "package/lksctp-tools/Config.in"
        source "package/mbuffer/Config.in"
        source "package/mdnsd/Config.in"
diff --git a/package/libzenoh-pico/Config.in b/package/libzenoh-pico/Config.in
new file mode 100644
index 0000000000..3baa76da3d
--- /dev/null
+++ b/package/libzenoh-pico/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_LIBZENOH_PICO
+       bool "libzenoh-pico"
+       help
+         zenoh-pico is the Eclipse zenoh implementation that targets constrained
+         devices and offers a native C API. It is fully compatible with its main
+         Rust Zenoh implementation, providing a lightweight implementation of
+         most functionalities.
+
+         https://github.com/eclipse-zenoh/zenoh-pico
diff --git a/package/libzenoh-pico/libzenoh-pico.hash b/package/libzenoh-pico/libzenoh-pico.hash
new file mode 100644
index 0000000000..edd4c3df4a
--- /dev/null
+++ b/package/libzenoh-pico/libzenoh-pico.hash
@@ -0,0 +1,3 @@
+# Locally computed
+sha256  752acec56236fca41dcc438307f4a76e69900383b06803d47f32c480643dc794  zenoh-pico-0.10.0-rc.tar.gz
+sha256  d386df32cf327bbb25abe894277d3d7e0f447bafc59f4ad362615b0136f30db5  LICENSE
diff --git a/package/libzenoh-pico/libzenoh-pico.mk b/package/libzenoh-pico/libzenoh-pico.mk
new file mode 100644
index 0000000000..46d98a0a49
--- /dev/null
+++ b/package/libzenoh-pico/libzenoh-pico.mk
@@ -0,0 +1,19 @@
+################################################################################
+#
+# libzenoh-pico
+#
+################################################################################
+
+LIBZENOH_PICO_VERSION = 0.10.0-rc
+LIBZENOH_PICO_SITE = $(call github,eclipse-zenoh,zenoh-pico,$(LIBZENOH_PICO_VERSION))
+LIBZENOH_PICO_LICENSE = EPL-2.0
+LIBZENOH_PICO_LICENSE_FILES = LICENSE
+LIBZENOH_PICO_SUPPORTS_IN_SOURCE_BUILD = NO
+LIBZENOH_PICO_INSTALL_STAGING = YES
+
+# - disable all examples
+LIBZENOH_PICO_CONF_OPTS += \
+       -DBUILD_EXAMPLES=OFF
+
+$(eval $(cmake-package))
+
--
2.34.1

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

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

end of thread, other threads:[~2023-11-01 17:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-19  6:08 [Buildroot] [PATCH] package/libzenoh-pico: new package Michel Alex
2023-11-01 17:28 ` 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.