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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
package = "WSAPI-FCGI"
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 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://wsapi.luaforge.net"
}
dependencies = { 'wsapi', 'rings' }
external_dependencies = {
FASTCGI = {
header = "fcgi_stdio.h"
}
}
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$(LUA_INCDIR) /I$(FASTCGI_INCDIR)",
LUA_LIB = "$(LUA_LIBDIR)\\lua5.1.lib",
},
install_variables = {
LUA_LIBDIR = "$(LIBDIR)",
BIN_DIR = "$(BINDIR)",
}
}
}
}
|