new file mode 100644
@@ -0,0 +1,26 @@
+config BR2_PACKAGE_LIBCPPCONNMAN
+ bool "libcppconnman"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_USE_WCHAR # libglib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
+ depends on BR2_USE_MMU # libglib2
+ select BR2_PACKAGE_LIBGLIB2
+ help
+ libcppconnman provide easy to use C++ API to communicate
+ with ConnMan via the DBus using GDBus.
+
+ https://amarula.github.io/libcppconnman/
+
+comment "libcppconnman needs a toolchain w/ C++, wchar, threads"
+ depends on BR2_USE_MMU
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+ !BR2_TOOLCHAIN_HAS_THREADS
+
+if BR2_PACKAGE_LIBCPPCONNMAN
+
+config BR2_PACKAGE_LIBCPPCONNMAN_EXAMPLE
+ bool "libcppconnman example"
+ help
+ Compile CLI example.
+
+endif
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,3 @@
+# Locally computed
+sha256 6fe3f4eb7372786f76b6be8cf77720066f4aa216c6596e99d8015e7139a00073 libcppconnman-1.0.0.tar.gz
+sha256 7ffe1954587c77dfba1cf8eb9b2ea743671fa6e63f9e7a2f258119d42e14eefe LICENSE
new file mode 100644
@@ -0,0 +1,24 @@
+################################################################################
+#
+# libcppconnman
+#
+################################################################################
+
+LIBCPPCONNMAN_VERSION = 1.0.0
+LIBCPPCONNMAN_SITE = $(call github,amarula,libcppconnman,v$(LIBCPPCONNMAN_VERSION))
+LIBCPPCONNMAN_LICENSE = LGPL-2.1-or-later
+LIBCPPCONNMAN_LICENSE_FILES = LICENSE
+
+LIBCPPCONNMAN_INSTALL_STAGING = YES
+
+LIBCPPCONNMAN_DEPENDENCIES = host-pkgconf libglib2
+
+LIBCPPCONNMAN_CONF_OPTS = -DBUILD_CONNMAN=ON
+
+ifeq ($(BR2_PACKAGE_LIBCPPCONNMAN_EXAMPLE),y)
+LIBCPPCONNMAN_CONF_OPTS += -DBUILD_EXAMPLES=ON
+else
+LIBCPPCONNMAN_CONF_OPTS += -DBUILD_EXAMPLES=OFF
+endif
+
+$(eval $(cmake-package))
libcppconnman is a C++ library that provides an easy-to-use API to communicate with ConnMan over D-Bus using GDBus. https://github.com/amarula/libcppconnman Signed-off-by: Andrea Ricchi <andrea.ricchi@amarulasolutions.com> --- package/libcppconnman/Config.in | 26 ++++++++++++++++++++++++ package/libcppconnman/libcppconnman.hash | 3 +++ package/libcppconnman/libcppconnman.mk | 24 ++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 package/libcppconnman/Config.in create mode 100644 package/libcppconnman/libcppconnman.hash create mode 100644 package/libcppconnman/libcppconnman.mk