7851f5a127
- change download url to https - update homepage url (the old one returns 404 - No projects found) - add hash file - delete 0001-blobmsg-fix-array-out-of-bounds-GCC-10-warning.patch (from upstream [1]) [1] https://git.openwrt.org/?p=project/libubox.git;a=commit;h=eb7eb6393d47a918c420f5b287946dbd6c0d5f57 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
24 lines
706 B
Makefile
24 lines
706 B
Makefile
################################################################################
|
|
#
|
|
# libubox
|
|
#
|
|
################################################################################
|
|
|
|
LIBUBOX_VERSION = 5bc0146a1d6474d339c4ade9a227f32cc27a8b93
|
|
LIBUBOX_SITE = https://git.openwrt.org/project/libubox.git
|
|
LIBUBOX_SITE_METHOD = git
|
|
LIBUBOX_LICENSE = ISC, BSD-3-Clause
|
|
LIBUBOX_INSTALL_STAGING = YES
|
|
LIBUBOX_DEPENDENCIES = $(if $(BR2_PACKAGE_JSON_C),json-c)
|
|
|
|
ifeq ($(BR2_USE_MMU)$(BR2_PACKAGE_LUA_5_1),yy)
|
|
LIBUBOX_DEPENDENCIES += lua
|
|
LIBUBOX_CONF_OPTS += -DBUILD_LUA=ON \
|
|
-DLUAPATH=/usr/lib/lua/5.1 \
|
|
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
|
|
else
|
|
LIBUBOX_CONF_OPTS += -DBUILD_LUA=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|