2014-03-20 23:17:10 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libubox
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-02-11 00:16:34 +01:00
|
|
|
LIBUBOX_VERSION = 5bc0146a1d6474d339c4ade9a227f32cc27a8b93
|
|
|
|
LIBUBOX_SITE = https://git.openwrt.org/project/libubox.git
|
|
|
|
LIBUBOX_SITE_METHOD = git
|
2017-03-30 15:43:38 +02:00
|
|
|
LIBUBOX_LICENSE = ISC, BSD-3-Clause
|
2014-03-20 23:17:10 +01:00
|
|
|
LIBUBOX_INSTALL_STAGING = YES
|
2014-10-19 20:04:43 +02:00
|
|
|
LIBUBOX_DEPENDENCIES = $(if $(BR2_PACKAGE_JSON_C),json-c)
|
2014-03-20 23:17:10 +01:00
|
|
|
|
2014-04-07 22:33:26 +02:00
|
|
|
ifeq ($(BR2_USE_MMU)$(BR2_PACKAGE_LUA_5_1),yy)
|
2014-03-30 05:38:01 +02:00
|
|
|
LIBUBOX_DEPENDENCIES += lua
|
2014-10-19 20:04:45 +02:00
|
|
|
LIBUBOX_CONF_OPTS += -DBUILD_LUA=ON \
|
2017-05-06 22:26:10 +02:00
|
|
|
-DLUAPATH=/usr/lib/lua/5.1 \
|
2014-03-30 05:38:01 +02:00
|
|
|
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
|
2014-03-20 23:17:10 +01:00
|
|
|
else
|
2014-10-19 20:04:44 +02:00
|
|
|
LIBUBOX_CONF_OPTS += -DBUILD_LUA=OFF
|
2014-03-20 23:17:10 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|