configs: atmel: at91sam9260eknf: update defconfig
[buildroot-gz.git] / package / luv / luv.mk
blob43cecf57fcdb67941493eda1af18bc820986091e
1 ################################################################################
3 # luv
5 ################################################################################
7 LUV_VERSION = 1.9.1-0
8 LUV_SITE = https://github.com/luvit/luv/releases/download/$(LUV_VERSION)
9 LUV_LICENSE = Apache-2.0
10 LUV_LICENSE_FILES = LICENSE.txt
11 LUV_DEPENDENCIES = libuv
12 LUV_INSTALL_STAGING = YES
14 LUV_CONF_OPTS += \
15 -DBUILD_MODULE=OFF \
16 -DWITH_SHARED_LIBUV=ON \
17 -DLUA_BUILD_TYPE=System
19 ifeq ($(BR2_PACKAGE_LUAJIT),y)
20 LUV_DEPENDENCIES += luajit
21 LUV_CONF_OPTS += \
22 -DWITH_LUA_ENGINE=LuaJIT
23 else
24 LUV_DEPENDENCIES += lua
25 LUV_CONF_OPTS += \
26 -DWITH_LUA_ENGINE=Lua
27 endif
29 $(eval $(cmake-package))