Blame view

buildroot/buildroot-2016.08.1/package/luv/luv.mk 676 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  ################################################################################
  #
  # luv
  #
  ################################################################################
  
  LUV_VERSION = 1.9.1-0
  LUV_SITE = https://github.com/luvit/luv/releases/download/$(LUV_VERSION)
  LUV_LICENSE = Apache-2.0
  LUV_LICENSE_FILES = LICENSE.txt
  LUV_DEPENDENCIES = libuv
  LUV_INSTALL_STAGING = YES
  
  LUV_CONF_OPTS += \
  	-DBUILD_MODULE=OFF \
  	-DWITH_SHARED_LIBUV=ON \
  	-DLUA_BUILD_TYPE=System
  
  ifeq ($(BR2_PACKAGE_LUAJIT),y)
  LUV_DEPENDENCIES += luajit
  LUV_CONF_OPTS += \
  	-DWITH_LUA_ENGINE=LuaJIT
  else
  LUV_DEPENDENCIES += lua
  LUV_CONF_OPTS += \
  	-DWITH_LUA_ENGINE=Lua
  endif
  
  $(eval $(cmake-package))