| 1 |
package = "Copas" |
| 2 |
version = "1.1.2-1" |
| 3 |
source = { |
| 4 |
url = "http://luaforge.net/frs/download.php/3367/copas-1.1.2.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 |
} |
| 24 |
build = { |
| 25 |
type = "make", |
| 26 |
build_pass = false, |
| 27 |
install_variables = { |
| 28 |
LUA_DIR = "$(LUADIR)" |
| 29 |
} |
| 30 |
} |