lua-cqueues: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
fbb48301ad
commit
c96e7eb504
@ -579,6 +579,7 @@ menu "Lua libraries/modules"
|
||||
source "package/lua-cjson/Config.in"
|
||||
source "package/lua-coat/Config.in"
|
||||
source "package/lua-coatpersistent/Config.in"
|
||||
source "package/lua-cqueues/Config.in"
|
||||
source "package/lua-csnappy/Config.in"
|
||||
source "package/lua-curl/Config.in"
|
||||
source "package/lua-datafile/Config.in"
|
||||
|
12
package/lua-cqueues/Config.in
Normal file
12
package/lua-cqueues/Config.in
Normal 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
|
2
package/lua-cqueues/lua-cqueues.hash
Normal file
2
package/lua-cqueues/lua-cqueues.hash
Normal file
@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 ae51b713bdf966215b87244e03ac60b5a12beb82d15dfb02755a000cfb2df905 lua-cqueues-rel-20161215.tar.gz
|
23
package/lua-cqueues/lua-cqueues.mk
Normal file
23
package/lua-cqueues/lua-cqueues.mk
Normal file
@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# lua-cqueues
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LUA_CQUEUES_VERSION = rel-20161215
|
||||
LUA_CQUEUES_SITE = $(call github,wahern,cqueues,$(LUA_CQUEUES_VERSION))
|
||||
LUA_CQUEUES_LICENSE = MIT
|
||||
LUA_CQUEUES_LICENSE_FILES = LICENSE
|
||||
LUA_CQUEUES_DEPENDENCIES = luainterpreter openssl
|
||||
|
||||
define LUA_CQUEUES_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) -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))
|
Loading…
Reference in New Issue
Block a user