mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 13:16:35 +00:00
New lua module: coxpcall
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
a8495cdfcd
commit
13ec21c66c
2
CHANGES
2
CHANGES
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
New GTK-based configurator, usable using 'make gconfig'.
|
New GTK-based configurator, usable using 'make gconfig'.
|
||||||
|
|
||||||
New packages: luafilesystem
|
New packages: coxpcall, luafilesystem
|
||||||
|
|
||||||
Updated/fixed packages: cdrkit, libidn, netperf
|
Updated/fixed packages: cdrkit, libidn, netperf
|
||||||
|
|
||||||
|
@ -208,6 +208,7 @@ source "package/haserl/Config.in"
|
|||||||
source "package/java/jamvm/Config.in"
|
source "package/java/jamvm/Config.in"
|
||||||
source "package/lua/Config.in"
|
source "package/lua/Config.in"
|
||||||
if BR2_PACKAGE_LUA
|
if BR2_PACKAGE_LUA
|
||||||
|
source "package/coxpcall/Config.in"
|
||||||
source "package/luafilesystem/Config.in"
|
source "package/luafilesystem/Config.in"
|
||||||
endif
|
endif
|
||||||
source "package/microperl/Config.in"
|
source "package/microperl/Config.in"
|
||||||
|
8
package/coxpcall/Config.in
Normal file
8
package/coxpcall/Config.in
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
config BR2_PACKAGE_COXPCALL
|
||||||
|
bool "coxpcall"
|
||||||
|
help
|
||||||
|
Coxpcall encapsulates the protected calls with a coroutine
|
||||||
|
based loop, so errors can be dealed without the usual
|
||||||
|
pcall/xpcall issues with coroutines.
|
||||||
|
|
||||||
|
http://coxpcall.luaforge.net/
|
20
package/coxpcall/coxpcall.mk
Normal file
20
package/coxpcall/coxpcall.mk
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# coxpcall
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
COXPCALL_VERSION = 1.13.0
|
||||||
|
COXPCALL_SITE = http://luaforge.net/frs/download.php/3406
|
||||||
|
COXPCALL_DEPENDENCIES = lua
|
||||||
|
|
||||||
|
define COXPCALL_INSTALL_TARGET_CMDS
|
||||||
|
$(INSTALL) -m 0644 -D $(@D)/src/coxpcall.lua \
|
||||||
|
$(TARGET_DIR)/usr/share/lua/coxpcall.lua
|
||||||
|
endef
|
||||||
|
|
||||||
|
define COXPCALL_UNINSTALL_TARGET_CMDS
|
||||||
|
rm -f "$(TARGET_DIR)/usr/share/lua/coxpcall.lua"
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call GENTARGETS,package,coxpcall))
|
Loading…
x
Reference in New Issue
Block a user