1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
package = "WSAPI"
version = "1.0-1"
source = {
url = "http://luaforge.net/frs/download.php/3380/wsapi-1.0.0.tar.gz",
}
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://wsapi.luaforge.net"
}
dependencies = { }
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"
}
}
}
}
|