generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
16
package/luv/Config.in
Normal file
16
package/luv/Config.in
Normal file
@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_LUV
|
||||
bool "luv"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
|
||||
depends on BR2_USE_MMU # libuv
|
||||
depends on !BR2_STATIC_LIBS # libuv
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
|
||||
select BR2_PACKAGE_LIBUV
|
||||
help
|
||||
libuv bindings for LuaJIT and Lua.
|
||||
|
||||
https://github.com/luvit/luv
|
||||
|
||||
comment "luv needs a toolchain w/ NPTL, dynamic library"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
3
package/luv/luv.hash
Normal file
3
package/luv/luv.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 567a6f3dcdcf8a9b54ddc57ffef89d1e950d72832b85ee81c8c83a9d4e0e9de2 luv-1.43.0-0.tar.gz
|
||||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE.txt
|
||||
29
package/luv/luv.mk
Normal file
29
package/luv/luv.mk
Normal file
@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
#
|
||||
# luv
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LUV_VERSION = 1.43.0-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))
|
||||
Reference in New Issue
Block a user