netsnmp: handle libnl dependency properly
[buildroot-gz.git] / package / libubox / libubox.mk
blob00392c3112d25103e4d685adaff06e379a832291
1 ################################################################################
3 # libubox
5 ################################################################################
7 LIBUBOX_VERSION = 290c64ef5b5c3e75be851594f269d6a9568e64e5
8 LIBUBOX_SITE = git://git.openwrt.org/project/libubox.git
9 LIBUBOX_LICENSE = ISC, BSD-3c
10 LIBUBOX_INSTALL_STAGING = YES
11 LIBUBOX_DEPENDENCIES = $(if $(BR2_PACKAGE_JSON_C),json-c)
13 ifeq ($(BR2_USE_MMU)$(BR2_PACKAGE_LUA_5_1),yy)
14 LIBUBOX_DEPENDENCIES += lua
15 LIBUBOX_CONF_OPTS += -DBUILD_LUA=ON \
16 -DLUAPATH=$(STAGING_DIR)/usr/lib/lua/5.1 \
17 -DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
18 else
19 LIBUBOX_CONF_OPTS += -DBUILD_LUA=OFF
20 endif
22 $(eval $(cmake-package))