-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mascarenhas
committed
Jan 20, 2008
1 parent
aa2ec6c
commit c14ddbe
Showing
2 changed files
with
104 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package = "WSAPI" | ||
|
||
version = "cvs-1" | ||
|
||
description = { | ||
summary = "Lua Web Server API", | ||
detailed = [[ | ||
WSAPI is an API that abstracts the web server from Lua web applications. This is the rock | ||
contains the base WSAPI libraries plus the CGI and Xavante adapters. | ||
]], | ||
license = "MIT/X11", | ||
homepage = "http://www.keplerproject.org/wsapi" | ||
} | ||
|
||
dependencies = { "luafilesystem cvs", "rings cvs" } | ||
|
||
source = { | ||
url = "cvs://:pserver:anonymous:@cvs.luaforge.net:/cvsroot/wsapi", | ||
cvs_tag = "HEAD", | ||
} | ||
|
||
build = { | ||
type = "make", | ||
build_pass = false, | ||
install_target = "install-rocks", | ||
install_variables = { | ||
PREFIX = "$(PREFIX)", | ||
LUA_BIN = "/usr/bin/env lua", | ||
LUA_DIR = "$(LUADIR)", | ||
BIN_DIR = "$(BINDIR)" | ||
}, | ||
platforms = { | ||
win32 = { | ||
build_pass = true, | ||
build_target = "cgi", | ||
build_variables = { | ||
LUA_INCLUDE = "$(LUA_INCDIR)", | ||
LUA_LIB = "$(LUA_LIBDIR)\\lua5.1.lib" | ||
} | ||
} | ||
} | ||
} |
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,62 @@ | ||
package = "WSAPI-FCGI" | ||
|
||
version = "cvs-1" | ||
|
||
description = { | ||
summary = "Lua Web Server API FastCGI Adapter", | ||
detailed = [[ | ||
WSAPI is an API that abstracts the web server from Lua web applications. This | ||
is the rock that contains the FCGI module lfcgi. | ||
]], | ||
license = "MIT/X11", | ||
homepage = "http://www.keplerproject.org/wsapi" | ||
} | ||
|
||
dependencies = { "wsapi cvs" } | ||
|
||
external_dependencies = { | ||
platforms = { | ||
unix = { | ||
FASTCGI = { | ||
header = "fcgi_stdio.h" | ||
} | ||
} | ||
} | ||
} | ||
|
||
source = { | ||
url = "cvs://:pserver:anonymous:@cvs.luaforge.net:/cvsroot/wsapi", | ||
cvs_tag = "HEAD", | ||
} | ||
|
||
build = { | ||
platforms = { | ||
unix = { | ||
type = "make", | ||
install_target = "install-fcgi", | ||
build_pass = true, | ||
build_target = "fcgi", | ||
build_variables = { | ||
LIB_OPTION = "$(LIBFLAG) -L$(FASTCGI_LIBDIR)", | ||
CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR) -I$(FASTCGI_INCDIR)", | ||
}, | ||
install_variables = { | ||
LUA_LIBDIR = "$(LIBDIR)" | ||
} | ||
}, | ||
win32 = { | ||
type = "make", | ||
install_target = "install-fcgi", | ||
build_pass = true, | ||
build_target = "fcgi", | ||
build_variables = { | ||
LIB_OPTION = "$(LUA_LIBDIR)\\lua5.1.lib $(FASTCGI_LIB)", | ||
CFLAGS = "$(CFLAGS) /I$(FASTCGI_INCDIR)", | ||
}, | ||
install_variables = { | ||
LUA_LIBDIR = "$(LIBDIR)", | ||
BIN_DIR = "$(BINDIR)" | ||
} | ||
} | ||
} | ||
} |