2014-03-20 23:17:11 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libuci
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-02-11 00:16:36 +01:00
|
|
|
LIBUCI_VERSION = 52bbc99f69ea6f67b6fe264f424dac91bde5016c
|
|
|
|
LIBUCI_SITE = https://git.openwrt.org/project/uci.git
|
|
|
|
LIBUCI_SITE_METHOD = 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))
|