2014-03-20 23:17:10 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libubox
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
LIBUBOX_VERSION = bbd846ec2d72b2629758b69dc122ac0b0f2c3e4b
|
|
|
|
LIBUBOX_SITE = git://nbd.name/luci2/libubox.git
|
|
|
|
LIBUBOX_LICENSE = LGPLv2.1, GPLv2, BSD-3c, MIT
|
|
|
|
LIBUBOX_INSTALL_STAGING = YES
|
2014-03-25 23:51:54 +01:00
|
|
|
LIBUBOX_DEPENDENCIES = host-pkgconf $(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
|
|
|
|
LIBUBOX_CONF_OPT += -DLUAPATH=$(STAGING_DIR)/usr/lib/lua/5.1 \
|
|
|
|
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
|
2014-03-20 23:17:10 +01:00
|
|
|
else
|
2014-03-30 05:38:01 +02:00
|
|
|
LIBUBOX_CONF_OPT += -DBUILD_LUA:BOOL=OFF
|
2014-03-20 23:17:10 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|