This repository has been archived by the owner on Nov 20, 2020. It is now read-only.
forked from keplerproject/xavante
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update docs and rockspec for version 2.2.1
- Loading branch information
Fabio Mascarenhas
committed
Oct 21, 2010
1 parent
1aebe29
commit eb677c0
Showing
3 changed files
with
58 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package = "Xavante" | ||
|
||
version = "2.2.1-1" | ||
|
||
description = { | ||
summary = "Lua Web Server Library", | ||
detailed = [[ | ||
Xavante is a Lua HTTP 1.1 Web server that uses a modular architecture based on URI mapped handlers. | ||
This rock installs Xavante as a library that other applications can use. | ||
]], | ||
license = "MIT/X11", | ||
homepage = "http://www.keplerproject.org/xavante" | ||
} | ||
|
||
dependencies = { 'luasocket >= 2.0', 'copas >= 1.1.5', 'luafilesystem >= 1.5.0' } | ||
|
||
source = { | ||
url = "http://github.com/downloads/keplerproject/xavante/xavante-2.2.1.tar.gz" | ||
} | ||
|
||
local XAVANTE_LUAS = { "src/xavante/cgiluahandler.lua", | ||
"src/xavante/encoding.lua", | ||
"src/xavante/filehandler.lua", | ||
"src/xavante/httpd.lua", | ||
"src/xavante/mime.lua", | ||
"src/xavante/patternhandler.lua", | ||
"src/xavante/redirecthandler.lua", | ||
"src/xavante/vhostshandler.lua", | ||
"src/xavante/indexhandler.lua", | ||
"src/xavante/urlhandler.lua", | ||
"src/xavante/ruleshandler.lua" } | ||
|
||
build = { | ||
type = "module", | ||
modules = { | ||
sajax = "src/sajax/sajax.lua", | ||
xavante = "src/xavante/xavante.lua" | ||
} | ||
} | ||
|
||
for i = 1,#(XAVANTE_LUAS) do | ||
local src = XAVANTE_LUAS[i] | ||
local mod = "xavante." .. src:match("^src/xavante/([^%.]+)%.lua") | ||
build.modules[mod] = src | ||
end |