libubox: new package
[Peter: needs !static, use += for _DEPENDENCIES/_CONF_OPT] Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
74af345cff
commit
2f2becd522
@ -791,6 +791,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"
|
||||
|
13
package/libubox/Config.in
Normal file
13
package/libubox/Config.in
Normal file
@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_LIBUBOX
|
||||
bool "libubox"
|
||||
depends on !BR2_PREFER_STATIC_LIB
|
||||
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.
|
||||
|
||||
http://nbd.name/gitweb.cgi?p=luci2/libubox.git;a=summary
|
||||
|
||||
comment "libubox needs a toolchain w/ dynamic library"
|
||||
depends on BR2_PREFER_STATIC_LIB
|
18
package/libubox/libubox.mk
Normal file
18
package/libubox/libubox.mk
Normal file
@ -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))
|
Loading…
Reference in New Issue
Block a user