[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

View File

@ -0,0 +1,12 @@
config BR2_PACKAGE_LUA_CQUEUES
bool "lua-cqueues"
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_OPENSSL
help
Continuation Queues: Embeddable asynchronous networking,
threading, and notification framework for Lua on Unix.
http://25thandclement.com/~william/projects/cqueues.html
comment "lua-cqueues needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@ -0,0 +1,3 @@
# Locally calculated
sha256 9e112edd246da5cfca264314b70325a0b63665cb87a00e45ee3ae4f194000d52 lua-cqueues-20200726.tar.gz
sha256 5f4b1f94047790eadf8fd0f9a8e3bd2895bea4c9a2c0f8bf7cd8c8e57caa5219 LICENSE

View File

@ -0,0 +1,30 @@
################################################################################
#
# lua-cqueues
#
################################################################################
LUA_CQUEUES_VERSION = 20200726
LUA_CQUEUES_SITE = $(call github,wahern,cqueues,rel-$(LUA_CQUEUES_VERSION))
LUA_CQUEUES_LICENSE = MIT
LUA_CQUEUES_LICENSE_FILES = LICENSE
LUA_CQUEUES_DEPENDENCIES = luainterpreter openssl host-m4
LUA_CQUEUES_CFLAGS = $(TARGET_CFLAGS)
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y)
LUA_CQUEUES_CFLAGS += -O0
endif
define LUA_CQUEUES_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(LUA_CQUEUES_CFLAGS)" -C $(@D) \
prefix="$(STAGING_DIR)/usr" all$(LUAINTERPRETER_ABIVER)
endef
define LUA_CQUEUES_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
DESTDIR="$(TARGET_DIR)" prefix=/usr install$(LUAINTERPRETER_ABIVER)
endef
$(eval $(generic-package))