1 ################################################################################
5 ################################################################################
7 LIBUBOX_VERSION
= e88d816d6e462180f0337565e04e36be58a63309
8 LIBUBOX_SITE
= git
://git.openwrt.org
/project
/libubox.git
9 LIBUBOX_LICENSE
= LGPLv2.1
, GPLv2
, BSD-3c
, MIT
10 LIBUBOX_INSTALL_STAGING
= YES
11 LIBUBOX_DEPENDENCIES
= $(if
$(BR2_PACKAGE_JSON_C
),json-c
)
13 ifeq ($(BR2_USE_MMU
)$(BR2_PACKAGE_LUA_5_1
),yy
)
14 LIBUBOX_DEPENDENCIES
+= lua
15 LIBUBOX_CONF_OPTS
+= -DBUILD_LUA
=ON \
16 -DLUAPATH
=$(STAGING_DIR
)/usr
/lib
/lua
/5.1 \
17 -DLUA_CFLAGS
=-I
$(STAGING_DIR
)/usr
/include
19 LIBUBOX_CONF_OPTS
+= -DBUILD_LUA
=OFF
22 $(eval
$(cmake-package
))