2014-03-20 23:17:11 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libuci
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-03-24 13:49:52 +01:00
|
|
|
LIBUCI_VERSION = 49ec6efbdac4819033d34f08927d795f83a3932d
|
|
|
|
LIBUCI_SITE = git://git.openwrt.org/project/uci.git
|
2017-03-30 15:43:34 +02:00
|
|
|
LIBUCI_LICENSE = LGPL-2.1, GPL-2.0 (tools)
|
2014-03-20 23:17:11 +01:00
|
|
|
LIBUCI_INSTALL_STAGING = YES
|
|
|
|
LIBUCI_DEPENDENCIES = libubox
|
|
|
|
|
2014-04-19 02:47:01 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LUA_5_1),y)
|
2014-04-05 16:36:57 +02:00
|
|
|
LIBUCI_DEPENDENCIES += lua
|
2014-10-19 20:04:47 +02:00
|
|
|
LIBUCI_CONF_OPTS += -DBUILD_LUA=ON \
|
2016-02-09 14:17:37 +01:00
|
|
|
-DLUAPATH=/usr/lib/lua/5.1 \
|
2014-04-05 16:36:57 +02:00
|
|
|
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
|
2019-10-26 10:45:54 +02:00
|
|
|
LIBUCI_LICENSE += , GPL-2.0 (lua bindings)
|
2014-03-20 23:17:11 +01:00
|
|
|
else
|
2014-10-19 20:04:46 +02:00
|
|
|
LIBUCI_CONF_OPTS += -DBUILD_LUA=OFF
|
2014-03-20 23:17:11 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|