2014-03-20 23:17:11 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libuci
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-10-12 10:20:32 +02:00
|
|
|
LIBUCI_VERSION = e339407372ffc70b1451e4eda218c01aa95a6a7f
|
2014-03-20 23:17:11 +01:00
|
|
|
LIBUCI_SITE = git://nbd.name/uci.git
|
2016-07-04 14:46:22 +02:00
|
|
|
LIBUCI_LICENSE = LGPLv2.1, GPLv2 (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
|
2016-07-04 14:46:22 +02:00
|
|
|
LIBUCI_LICENSE := $(LIBUCI_LICENSE), GPLv2 (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))
|