Rockspecs for version 2.3.4

Since version 2.3.4 was tagged in the source code,
it's better to release matching rockspecs for all drivers
to avoid confusion. This also solves long standing
compatibility issues.

Closes #6. (Lua 5.2 compatibility for odbc)
Closes #30. (Lua 5.3 support for luasql-mysql)
(And it possibly closes more issues as well!)
This commit is contained in:
Hisham 2016-10-31 16:31:49 -02:00
parent c04a0d95c8
commit 67baedd624
5 changed files with 175 additions and 0 deletions

View File

@ -0,0 +1,35 @@
package = "LuaSQL-MySQL"
version = "2.3.4-1"
source = {
url = "git://github.com/keplerproject/luasql.git",
branch = "v2.3.4",
}
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)" }
}
}
}

View File

@ -0,0 +1,35 @@
package = "LuaSQL-OCI8"
version = "2.3.4-1"
source = {
url = "git://github.com/keplerproject/luasql.git",
branch = "v2.3.4",
}
description = {
summary = "Database connectivity for Lua (Oracle 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 = {
OCI8 = {
header = "oci.h"
}
}
build = {
type = "builtin",
modules = {
["luasql.oci8"] = {
sources = { "src/luasql.c", "src/ls_oci8.c" },
libraries = { "z", "clntsh", },
incdirs = { "$(OCI8_INCDIR)" },
libdirs = { "$(OCI8_LIBDIR)" }
}
}
}

View File

@ -0,0 +1,35 @@
package = "LuaSQL-ODBC"
version = "2.3.4-1"
source = {
url = "git://github.com/keplerproject/luasql.git",
branch = "v2.3.4",
}
description = {
summary = "Database connectivity for Lua (ODBC 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 = {
ODBC = {
header = "sql.h"
}
}
build = {
type = "builtin",
modules = {
["luasql.odbc"] = {
sources = { "src/luasql.c", "src/ls_odbc.c" },
libraries = { "odbc" },
incdirs = { "$(ODBC_INCDIR)" },
libdirs = { "$(ODBC_LIBDIR)" }
}
}
}

View File

@ -0,0 +1,35 @@
package = "LuaSQL-SQLite"
version = "2.3.4-1"
source = {
url = "git://github.com/keplerproject/luasql.git",
branch = "v2.3.4",
}
description = {
summary = "Database connectivity for Lua (SQLite 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 = "sqlite.h"
}
}
build = {
type = "builtin",
modules = {
["luasql.sqlite"] = {
sources = { "src/luasql.c", "src/ls_sqlite.c" },
libraries = { "sqlite" },
incdirs = { "$(SQLITE_INCDIR)" },
libdirs = { "$(SQLITE_LIBDIR)" }
}
}
}

View File

@ -0,0 +1,35 @@
package = "LuaSQL-SQLite3"
version = "2.3.4-1"
source = {
url = "git://github.com/keplerproject/luasql.git",
branch = "v2.3.4",
}
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)" }
}
}
}