diff --git a/rockspec/luasql-mysql-2.3.4-1.rockspec b/rockspec/luasql-mysql-2.3.4-1.rockspec new file mode 100644 index 0000000..2cdfbee --- /dev/null +++ b/rockspec/luasql-mysql-2.3.4-1.rockspec @@ -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)" } + } + } +} diff --git a/rockspec/luasql-oci8-2.3.4-1.rockspec b/rockspec/luasql-oci8-2.3.4-1.rockspec new file mode 100644 index 0000000..7491948 --- /dev/null +++ b/rockspec/luasql-oci8-2.3.4-1.rockspec @@ -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)" } + } + } +} diff --git a/rockspec/luasql-odbc-2.3.4-1.rockspec b/rockspec/luasql-odbc-2.3.4-1.rockspec new file mode 100644 index 0000000..f6e3675 --- /dev/null +++ b/rockspec/luasql-odbc-2.3.4-1.rockspec @@ -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)" } + } + } +} diff --git a/rockspec/luasql-sqlite-2.3.4-1.rockspec b/rockspec/luasql-sqlite-2.3.4-1.rockspec new file mode 100644 index 0000000..b705c3c --- /dev/null +++ b/rockspec/luasql-sqlite-2.3.4-1.rockspec @@ -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)" } + } + } +} diff --git a/rockspec/luasql-sqlite3-2.3.4-1.rockspec b/rockspec/luasql-sqlite3-2.3.4-1.rockspec new file mode 100644 index 0000000..c83fecb --- /dev/null +++ b/rockspec/luasql-sqlite3-2.3.4-1.rockspec @@ -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)" } + } + } +}