New version (2.6) for MySQL and Firebird.
This commit is contained in:
parent
e686c4bc69
commit
e84e9e4347
35
rockspec/luasql-mysql-2.6.0-1.rockspec
Normal file
35
rockspec/luasql-mysql-2.6.0-1.rockspec
Normal file
@ -0,0 +1,35 @@
|
||||
package = "LuaSQL-MySQL"
|
||||
version = "2.6.0-1"
|
||||
source = {
|
||||
url = "git://github.com/keplerproject/luasql.git",
|
||||
branch = "2.6.0",
|
||||
}
|
||||
description = {
|
||||
summary = "Database connectivity for Lua (MySQL 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 = {
|
||||
MYSQL = {
|
||||
header = "mysql.h"
|
||||
}
|
||||
}
|
||||
build = {
|
||||
type = "builtin",
|
||||
modules = {
|
||||
["luasql.mysql"] = {
|
||||
sources = { "src/luasql.c", "src/ls_mysql.c" },
|
||||
libraries = { "mysqlclient" },
|
||||
incdirs = { "$(MYSQL_INCDIR)" },
|
||||
libdirs = { "$(MYSQL_LIBDIR)" }
|
||||
}
|
||||
}
|
||||
}
|
35
rockspec/luasql-sqlite3-2.6.0-1.rockspec
Normal file
35
rockspec/luasql-sqlite3-2.6.0-1.rockspec
Normal file
@ -0,0 +1,35 @@
|
||||
package = "LuaSQL-SQLite3"
|
||||
version = "2.6.0-1"
|
||||
source = {
|
||||
url = "git://github.com/keplerproject/luasql.git",
|
||||
branch = "2.6.0",
|
||||
}
|
||||
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 = "builtin",
|
||||
modules = {
|
||||
["luasql.sqlite3"] = {
|
||||
sources = { "src/luasql.c", "src/ls_sqlite3.c" },
|
||||
libraries = { "sqlite3" },
|
||||
incdirs = { "$(SQLITE_INCDIR)" },
|
||||
libdirs = { "$(SQLITE_LIBDIR)" }
|
||||
}
|
||||
}
|
||||
}
|
@ -122,12 +122,12 @@ LUASQL_API void luasql_setmeta (lua_State *L, const char *name) {
|
||||
*/
|
||||
LUASQL_API void luasql_set_info (lua_State *L) {
|
||||
lua_pushliteral (L, "_COPYRIGHT");
|
||||
lua_pushliteral (L, "Copyright (C) 2003-2019 Kepler Project");
|
||||
lua_pushliteral (L, "Copyright (C) 2003-2020 Kepler Project");
|
||||
lua_settable (L, -3);
|
||||
lua_pushliteral (L, "_DESCRIPTION");
|
||||
lua_pushliteral (L, "LuaSQL is a simple interface from Lua to a DBMS");
|
||||
lua_settable (L, -3);
|
||||
lua_pushliteral (L, "_VERSION");
|
||||
lua_pushliteral (L, "LuaSQL 2.5.0 (for "LUA_VERSION")");
|
||||
lua_pushliteral (L, "LuaSQL 2.6.0 (for "LUA_VERSION")");
|
||||
lua_settable (L, -3);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user