@@ -784,6 +784,7 @@ source "package/libsigc/Config.in"
source "package/libsigsegv/Config.in"
source "package/libtasn1/Config.in"
source "package/libtpl/Config.in"
+source "package/libubox/Config.in"
source "package/libunwind/Config.in"
source "package/liburcu/Config.in"
source "package/linux-pam/Config.in"
new file mode 100644
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LIBUBOX
+ bool "libubox"
+ help
+ Small utility library for OpenWrt. It is a dependency of
+ libuci, that manages configuration files infrastructure.
+
+ http://nbd.name/gitweb.cgi?p=luci2/libubox.git;a=summary
new file mode 100644
@@ -0,0 +1,18 @@
+################################################################################
+#
+# libubox
+#
+################################################################################
+
+LIBUBOX_VERSION = bbd846ec2d72b2629758b69dc122ac0b0f2c3e4b
+LIBUBOX_SITE = git://nbd.name/luci2/libubox.git
+LIBUBOX_LICENSE = LGPLv2.1, GPLv2, BSD-3c, MIT
+LIBUBOX_INSTALL_STAGING = YES
+
+ifeq ($(BR2_PACKAGE_LUA),y)
+ LIBUBOX_DEPENDENCIES = lua
+else
+ LIBUBOX_CONF_OPT = -DBUILD_LUA:BOOL=OFF
+endif
+
+$(eval $(cmake-package))
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> --- Changes: v4: remove unneeded pkg-config macros v3: add Lua support v2: make package description more informative and fix license information package/Config.in | 1 + package/libubox/Config.in | 7 +++++++ package/libubox/libubox.mk | 18 ++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 package/libubox/Config.in create mode 100644 package/libubox/libubox.mk