initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_TURBOLUA
|
||||
bool "turbolua"
|
||||
depends on BR2_PACKAGE_LUAJIT
|
||||
help
|
||||
Turbo.lua is a framework built for LuaJIT 2 to simplify the
|
||||
task of building fast and scalable network applications. It
|
||||
uses a event-driven, non-blocking, no thread design to deliver
|
||||
excellent performance and minimal footprint to high-load
|
||||
applications while also providing excellent support for
|
||||
embedded uses. The toolkit can be used for HTTP REST API's,
|
||||
traditional dynamic web pages through templating, open
|
||||
connections like WebSockets, or just as high level building
|
||||
blocks for native speed network applications.
|
||||
|
||||
http://www.turbolua.org
|
||||
|
||||
comment "turbolua needs LuaJIT"
|
||||
depends on !BR2_PACKAGE_LUAJIT
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 4dbfbe4919118977c2ca40a4da81054ffe407d09f38bf5420eec5ae1449299d3 turbolua-2.1.3.tar.gz
|
||||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
|
||||
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# turbolua
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TURBOLUA_VERSION = 2.1.3
|
||||
TURBOLUA_SITE = $(call github,kernelsauce,turbo,v$(TURBOLUA_VERSION))
|
||||
TURBOLUA_DEPENDENCIES = luajit
|
||||
TURBOLUA_LICENSE = Apache-2.0
|
||||
TURBOLUA_LICENSE_FILES = LICENSE
|
||||
|
||||
TURBOLUA_MAKE_OPTS = \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
LUAJIT_VERSION="$(LUAJIT_VERSION)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
TURBOLUA_MAKE_OPTS += SSL=openssl
|
||||
TURBOLUA_DEPENDENCIES += openssl
|
||||
else
|
||||
TURBOLUA_MAKE_OPTS += SSL=none
|
||||
endif
|
||||
|
||||
define TURBOLUA_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TURBOLUA_MAKE_OPTS) -C $(@D) all
|
||||
endef
|
||||
|
||||
define TURBOLUA_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TURBOLUA_MAKE_OPTS) LDCONFIG=true \
|
||||
PREFIX="$(TARGET_DIR)/usr" -C $(@D) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user