Commit bfce1e4c authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Peter Korsgaard
Browse files

New lua module: copas

parent b9b76f74
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4,7 +4,8 @@

	New GTK-based configurator, usable using 'make gconfig'.

	New packages: cgilua, coxpcall, luafilesystem, luasocket, rings
	New packages: cgilua, copas, coxpcall, luafilesystem,
	luasocket, rings

	Updated/fixed packages: cdrkit, libidn, netperf

+1 −0
Original line number Diff line number Diff line
@@ -209,6 +209,7 @@ source "package/java/jamvm/Config.in"
source "package/lua/Config.in"
if BR2_PACKAGE_LUA
source "package/cgilua/Config.in"
source "package/copas/Config.in"
source "package/coxpcall/Config.in"
source "package/luafilesystem/Config.in"
source "package/luasocket/Config.in"
+9 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_COPAS
	bool "copas"
	select BR2_PACKAGE_COXPCALL
	select BR2_PACKAGE_LUASOCKET
	help
	  Copas is a dispatcher based on coroutines that
	  can be used by TCP/IP servers.

	  http://keplerproject.github.com/copas/

package/copas/copas.mk

0 → 100644
+20 −0
Original line number Diff line number Diff line
#############################################################
#
# copas
#
#############################################################

COPAS_VERSION = 1.1.6
COPAS_SITE = http://github.com/downloads/keplerproject/copas
COPAS_DEPENDENCIES = lua coxpcall luasocket

define COPAS_INSTALL_TARGET_CMDS
	$(INSTALL) -m 0644 -D $(@D)/src/copas/copas.lua \
		$(TARGET_DIR)/usr/share/lua/copas.lua
endef

define COPAS_UNINSTALL_TARGET_CMDS
	rm -f "$(TARGET_DIR)/usr/share/lua/copas.lua"
endef

$(eval $(call GENTARGETS,package,copas))