| 1 |
package = "Copas" |
| 2 |
version = "1.1.4-1" |
| 3 |
source = { |
| 4 |
url = "http://luaforge.net/frs/download.php/3896/copas-1.1.4.tar.gz", |
| 5 |
} |
| 6 |
description = { |
| 7 |
summary = "Coroutine Oriented Portable Asynchronous Services", |
| 8 |
detailed = [[ |
| 9 |
Copas is a dispatcher based on coroutines that can be used by |
| 10 |
TCP/IP servers. It uses LuaSocket as the interface with the |
| 11 |
TCP/IP stack. A server registered with Copas should provide a |
| 12 |
handler for requests and use Copas socket functions to send |
| 13 |
the response. Copas loops through requests and invokes the |
| 14 |
corresponding handlers. For a full implementation of a Copas |
| 15 |
HTTP server you can refer to Xavante as an example. |
| 16 |
]], |
| 17 |
license = "MIT/X11", |
| 18 |
homepage = "http://www.keplerproject.org/copas/" |
| 19 |
} |
| 20 |
dependencies = { |
| 21 |
"lua >= 5.1", |
| 22 |
"luasocket >= 2.0", |
| 23 |
"coxpcall >= 1.13", |
| 24 |
} |
| 25 |
build = { |
| 26 |
type = "module", |
| 27 |
modules = { copas = "src/copas/copas.lua" } |
| 28 |
} |