2014-03-20 23:17:10 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libubox
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-10-12 10:20:31 +02:00
|
|
|
LIBUBOX_VERSION = 5a0bbefc8fa440446253b171d0ac038d839360e3
|
2014-03-20 23:17:10 +01:00
|
|
|
LIBUBOX_SITE = git://nbd.name/luci2/libubox.git
|
|
|
|
LIBUBOX_LICENSE = LGPLv2.1, GPLv2, BSD-3c, MIT
|
|
|
|
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 \
|
|
|
|
-DLUAPATH=$(STAGING_DIR)/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))
|