From bfce1e4cbcd995792e5fe92c4c1f2d0e77d52618 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 10 May 2010 14:52:27 -0300 Subject: New lua module: copas Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/copas/Config.in | 9 +++++++++ package/copas/copas.mk | 20 ++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 package/copas/Config.in create mode 100644 package/copas/copas.mk (limited to 'package/copas') diff --git a/package/copas/Config.in b/package/copas/Config.in new file mode 100644 index 000000000..9969c8f9a --- /dev/null +++ b/package/copas/Config.in @@ -0,0 +1,9 @@ +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/ diff --git a/package/copas/copas.mk b/package/copas/copas.mk new file mode 100644 index 000000000..1baed8356 --- /dev/null +++ b/package/copas/copas.mk @@ -0,0 +1,20 @@ +############################################################# +# +# 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)) -- cgit v1.2.3