mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
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 5cc75a012bfa9a5a1543d0167952676474f31c2d7fd8d450b56d8929dbebb5ef luv-1.30.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.30.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