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
|
|
|
|
LIBUCI_LICENSE = LGPLv2.1
|
|
|
|
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-09-27 21:32:44 +02:00
|
|
|
LIBUCI_CONF_OPTS += -DLUAPATH=$(STAGING_DIR)/usr/lib/lua/5.1 \
|
2014-04-05 16:36:57 +02:00
|
|
|
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
|
2014-03-20 23:17:11 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBUCI_CONF_OPTS += -DBUILD_LUA:BOOL=OFF
|
2014-03-20 23:17:11 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|