Commit d0a3fa2d authored by Yegor Yefremov's avatar Yegor Yefremov Committed by Peter Korsgaard
Browse files

libuci: new package



[Peter: needs !static, use += for _CONF_OPT]
Signed-off-by: default avatarYegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 6aee76bc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -792,6 +792,7 @@ source "package/libsigsegv/Config.in"
source "package/libtasn1/Config.in"
source "package/libtpl/Config.in"
source "package/libubox/Config.in"
source "package/libuci/Config.in"
source "package/libunwind/Config.in"
source "package/liburcu/Config.in"
source "package/linux-pam/Config.in"
+16 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_LIBUCI
	bool "libuci"
	depends on !BR2_PREFER_STATIC_LIB
	select BR2_PACKAGE_LIBUBOX
	help
	  This library originates from the OpenWrt project to
	  handle the configuration file infrastructure, but can
	  also be used for the same purposes in projects other
	  than OpenWrt.

	  This package will also install CLI tool uci.

	  http://wiki.openwrt.org/doc/techref/uci

comment "libuci needs a toolchain w/ dynamic library"
	depends on BR2_PREFER_STATIC_LIB
+19 −0
Original line number Diff line number Diff line
################################################################################
#
# libuci
#
################################################################################

LIBUCI_VERSION = 262fede3e8c8c08c1eb0d1be9bf102232fb86cb9
LIBUCI_SITE = git://nbd.name/uci.git
LIBUCI_LICENSE = LGPLv2.1
LIBUCI_INSTALL_STAGING = YES
LIBUCI_DEPENDENCIES = libubox

ifeq ($(BR2_PACKAGE_LUA),y)
	LIBUCI_DEPENDENCIES += lua
else
	LIBUCI_CONF_OPT += -DBUILD_LUA:BOOL=OFF
endif

$(eval $(cmake-package))