2008-01-08 18:50:49 +00:00
|
|
|
package = "LuaSQL-SQLite3"
|
|
|
|
version = "cvs-1"
|
|
|
|
source = {
|
|
|
|
url = "cvs://:pserver:anonymous:@cvs.luaforge.net:/cvsroot/luasql",
|
|
|
|
cvs_tag = "HEAD",
|
|
|
|
}
|
|
|
|
description = {
|
|
|
|
summary = "Database connectivity for Lua (SQLite3 driver)",
|
|
|
|
detailed = [[
|
|
|
|
LuaSQL is a simple interface from Lua to a DBMS. It enables a
|
|
|
|
Lua program to connect to databases, execute arbitrary SQL statements
|
|
|
|
and retrieve results in a row-by-row cursor fashion.
|
|
|
|
]],
|
|
|
|
license = "MIT/X11",
|
|
|
|
homepage = "http://www.keplerproject.org/luasql/"
|
|
|
|
}
|
|
|
|
dependencies = {
|
|
|
|
"lua >= 5.1"
|
|
|
|
}
|
|
|
|
external_dependencies = {
|
|
|
|
SQLITE = {
|
|
|
|
header = "sqlite3.h"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
build = {
|
|
|
|
type = "make",
|
|
|
|
variables = {
|
|
|
|
T="sqlite3",
|
|
|
|
LIB_OPTION = "$(LIBFLAG) -L$(SQLITE_LIBDIR) -lsqlite3",
|
|
|
|
CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR) -I$(SQLITE_INCDIR)"
|
|
|
|
},
|
|
|
|
build_variables = {
|
|
|
|
DRIVER_LIBS="",
|
|
|
|
},
|
|
|
|
install_variables = {
|
|
|
|
LUA_LIBDIR = "$(LIBDIR)",
|
2008-01-16 18:33:02 +00:00
|
|
|
},
|
|
|
|
platforms = {
|
2008-01-16 18:44:52 +00:00
|
|
|
win32 = {
|
|
|
|
variables = {
|
|
|
|
LIB_OPTION = "$(SQLITE_LIB) $(LUA_LIBDIR)\\lua5.1.lib",
|
2008-01-16 18:33:02 +00:00
|
|
|
CFLAGS = "$(CFLAGS) /I$(LUA_INCDIR) /I$(SQLITE_INCDIR)"
|
|
|
|
}
|
|
|
|
}
|
2008-01-08 18:50:49 +00:00
|
|
|
}
|
|
|
|
}
|