1 ################################################################################
5 ################################################################################
7 LIBUCI_VERSION
= e339407372ffc70b1451e4eda218c01aa95a6a7f
8 LIBUCI_SITE
= git
://nbd.name
/uci.git
9 LIBUCI_LICENSE
= LGPLv2.1
, GPLv2
(tools
)
10 LIBUCI_INSTALL_STAGING
= YES
11 LIBUCI_DEPENDENCIES
= libubox
13 ifeq ($(BR2_PACKAGE_LUA_5_1
),y
)
14 LIBUCI_DEPENDENCIES
+= lua
15 LIBUCI_CONF_OPTS
+= -DBUILD_LUA
=ON \
16 -DLUAPATH
=/usr
/lib
/lua
/5.1 \
17 -DLUA_CFLAGS
=-I
$(STAGING_DIR
)/usr
/include
18 LIBUCI_LICENSE
:= $(LIBUCI_LICENSE
), GPLv2
(lua bindings
)
20 LIBUCI_CONF_OPTS
+= -DBUILD_LUA
=OFF
23 $(eval
$(cmake-package
))