CLI tool and lua bindings are released under GPLv2.
Reviewed-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
[Thomas: use proper construct to concatenate new licenses to
<pkg>_LICENSE, as suggested by Yann E. Morin.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
LIBUCI_VERSION = e339407372ffc70b1451e4eda218c01aa95a6a7f
LIBUCI_SITE = git://nbd.name/uci.git
-LIBUCI_LICENSE = LGPLv2.1
+LIBUCI_LICENSE = LGPLv2.1, GPLv2 (tools)
LIBUCI_INSTALL_STAGING = YES
LIBUCI_DEPENDENCIES = libubox
LIBUCI_CONF_OPTS += -DBUILD_LUA=ON \
-DLUAPATH=/usr/lib/lua/5.1 \
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
+LIBUCI_LICENSE := $(LIBUCI_LICENSE), GPLv2 (lua bindings)
else
LIBUCI_CONF_OPTS += -DBUILD_LUA=OFF
endif