| 1 |
package = "Copas" |
| 2 |
version = "2.0.2-1" |
| 3 |
source = { |
| 4 |
url = "https://github.com/keplerproject/copas/archive/v2_0_2.tar.gz", |
| 5 |
dir = "copas-2_0_2", |
| 6 |
} |
| 7 |
description = { |
| 8 |
summary = "Coroutine Oriented Portable Asynchronous Services", |
| 9 |
detailed = [[ |
| 10 |
Copas is a dispatcher based on coroutines that can be used by |
| 11 |
TCP/IP servers. It uses LuaSocket as the interface with the |
| 12 |
TCP/IP stack. A server registered with Copas should provide a |
| 13 |
handler for requests and use Copas socket functions to send |
| 14 |
the response. Copas loops through requests and invokes the |
| 15 |
corresponding handlers. For a full implementation of a Copas |
| 16 |
HTTP server you can refer to Xavante as an example. |
| 17 |
]], |
| 18 |
license = "MIT/X11", |
| 19 |
homepage = "http://www.keplerproject.org/copas/" |
| 20 |
} |
| 21 |
dependencies = { |
| 22 |
"lua >= 5.1, < 5.4", |
| 23 |
"luasocket >= 2.1", |
| 24 |
"coxpcall >= 1.14", |
| 25 |
} |
| 26 |
build = { |
| 27 |
type = "builtin", |
| 28 |
modules = { |
| 29 |
["copas"] = "src/copas.lua", |
| 30 |
["copas.http"] = "src/copas/http.lua", |
| 31 |
["copas.ftp"] = "src/copas/ftp.lua", |
| 32 |
["copas.smtp"] = "src/copas/smtp.lua", |
| 33 |
["copas.limit"] = "src/copas/limit.lua", |
| 34 |
} |
| 35 |
} |