2014-03-20 23:17:11 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libuci
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-04-08 10:03:34 +02:00
|
|
|
LIBUCI_VERSION = ed938cc8e423d4a33b8f31e6e6d1eb0805ae3d10
|
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
|
|
|
|
LIBUCI_CONF_OPT += -DLUAPATH=$(STAGING_DIR)/usr/lib/lua/5.1 \
|
|
|
|
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
|
2014-03-20 23:17:11 +01:00
|
|
|
else
|
2014-04-05 16:36:57 +02:00
|
|
|
LIBUCI_CONF_OPT += -DBUILD_LUA:BOOL=OFF
|
2014-03-20 23:17:11 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|