From c5270246408557791c6784db0ed2ee2cf32adee9 Mon Sep 17 00:00:00 2001 From: Tomas Guisasola Date: Thu, 24 May 2012 09:55:19 -0300 Subject: [PATCH] Correction on rockspecs. Addition of new rockspecs for version 2.3.0. --- rockspec/luasql-mysql-2.3.0-1.rockspec | 3 +- rockspec/luasql-oci8-2.3.0-1.rockspec | 35 +++++++++++++++++++++++ rockspec/luasql-odbc-2.3.0-1.rockspec | 35 +++++++++++++++++++++++ rockspec/luasql-postgres-2.3.0-1.rockspec | 3 +- rockspec/luasql-sqlite-2.3.0-1.rockspec | 35 +++++++++++++++++++++++ rockspec/luasql-sqlite3-2.3.0-1.rockspec | 3 +- 6 files changed, 111 insertions(+), 3 deletions(-) create mode 100644 rockspec/luasql-oci8-2.3.0-1.rockspec create mode 100644 rockspec/luasql-odbc-2.3.0-1.rockspec create mode 100644 rockspec/luasql-sqlite-2.3.0-1.rockspec diff --git a/rockspec/luasql-mysql-2.3.0-1.rockspec b/rockspec/luasql-mysql-2.3.0-1.rockspec index 997dfcf..12612ba 100644 --- a/rockspec/luasql-mysql-2.3.0-1.rockspec +++ b/rockspec/luasql-mysql-2.3.0-1.rockspec @@ -1,7 +1,8 @@ package = "LuaSQL-MySQL" version = "2.3.0-1" source = { - url = "git://github.com/keplerproject/luasql.git" + url = "git://github.com/keplerproject/luasql.git", + branch = "v2.3.0", } description = { summary = "Database connectivity for Lua (MySQL driver)", diff --git a/rockspec/luasql-oci8-2.3.0-1.rockspec b/rockspec/luasql-oci8-2.3.0-1.rockspec new file mode 100644 index 0000000..95078c3 --- /dev/null +++ b/rockspec/luasql-oci8-2.3.0-1.rockspec @@ -0,0 +1,35 @@ +package = "LuaSQL-OCI8" +version = "2.3.0-1" +source = { + url = "git://github.com/keplerproject/luasql.git", + branch = "v2.3.0", +} +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)" } + } + } +} diff --git a/rockspec/luasql-odbc-2.3.0-1.rockspec b/rockspec/luasql-odbc-2.3.0-1.rockspec new file mode 100644 index 0000000..e960b3f --- /dev/null +++ b/rockspec/luasql-odbc-2.3.0-1.rockspec @@ -0,0 +1,35 @@ +package = "LuaSQL-ODBC" +version = "2.3.0-1" +source = { + url = "git://github.com/keplerproject/luasql.git", + branch = "v2.3.0", +} +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)" } + } + } +} diff --git a/rockspec/luasql-postgres-2.3.0-1.rockspec b/rockspec/luasql-postgres-2.3.0-1.rockspec index 60341b0..ec95b24 100644 --- a/rockspec/luasql-postgres-2.3.0-1.rockspec +++ b/rockspec/luasql-postgres-2.3.0-1.rockspec @@ -1,7 +1,8 @@ package = "LuaSQL-Postgres" version = "2.3.0-1" source = { - url = "git://github.com/keplerproject/luasql.git" + url = "git://github.com/keplerproject/luasql.git", + branch = "v2.3.0", } description = { summary = "Database connectivity for Lua (Postgres driver)", diff --git a/rockspec/luasql-sqlite-2.3.0-1.rockspec b/rockspec/luasql-sqlite-2.3.0-1.rockspec new file mode 100644 index 0000000..4771853 --- /dev/null +++ b/rockspec/luasql-sqlite-2.3.0-1.rockspec @@ -0,0 +1,35 @@ +package = "LuaSQL-SQLite" +version = "2.3.0-1" +source = { + url = "git://github.com/keplerproject/luasql.git", + branch = "v2.3.0", +} +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)" } + } + } +} diff --git a/rockspec/luasql-sqlite3-2.3.0-1.rockspec b/rockspec/luasql-sqlite3-2.3.0-1.rockspec index 3d1ab18..3d298e3 100644 --- a/rockspec/luasql-sqlite3-2.3.0-1.rockspec +++ b/rockspec/luasql-sqlite3-2.3.0-1.rockspec @@ -1,7 +1,8 @@ package = "LuaSQL-SQLite3" version = "2.3.0-1" source = { - url = "git://github.com/keplerproject/luasql.git" + url = "git://github.com/keplerproject/luasql.git", + branch = "v2.3.0", } description = { summary = "Database connectivity for Lua (SQLite3 driver)",