From e4826280a77779c0e3980c9f01f50cf17d80b669 Mon Sep 17 00:00:00 2001 From: mascarenhas Date: Mon, 14 Apr 2008 20:52:07 +0000 Subject: [PATCH] 2.2.0rc1 rockspecs --- rockspec/luasql-mysql-2.2.0rc1-1.rockspec | 37 +++++++++++++++++ rockspec/luasql-sqlite-2.2.0rc1-1.rockspec | 37 +++++++++++++++++ rockspec/luasql-sqlite3-2.2.0rc1-1.rockspec | 45 +++++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 rockspec/luasql-mysql-2.2.0rc1-1.rockspec create mode 100644 rockspec/luasql-sqlite-2.2.0rc1-1.rockspec create mode 100644 rockspec/luasql-sqlite3-2.2.0rc1-1.rockspec diff --git a/rockspec/luasql-mysql-2.2.0rc1-1.rockspec b/rockspec/luasql-mysql-2.2.0rc1-1.rockspec new file mode 100644 index 0000000..a67e175 --- /dev/null +++ b/rockspec/luasql-mysql-2.2.0rc1-1.rockspec @@ -0,0 +1,37 @@ +package = "LuaSQL-MySQL" +version = "2.2.0rc1-1" +source = { + url = "http://luasql.luaforge.net/luasql-2.2.0rc1.tar.gz", +} +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/mysql.h" + } +} +build = { + type = "make", + variables = { + T="mysql", + LIB_OPTION = "$(LIBFLAG) -L$(MYSQL_LIBDIR) -lmysqlclient -lz -lcrypt -lnsl -lm", + CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR) -I$(MYSQL_INCDIR)/mysql" + }, + build_variables = { + DRIVER_LIBS="", + }, + install_variables = { + LUA_LIBDIR = "$(LIBDIR)", + } +} diff --git a/rockspec/luasql-sqlite-2.2.0rc1-1.rockspec b/rockspec/luasql-sqlite-2.2.0rc1-1.rockspec new file mode 100644 index 0000000..a7f8586 --- /dev/null +++ b/rockspec/luasql-sqlite-2.2.0rc1-1.rockspec @@ -0,0 +1,37 @@ +package = "LuaSQL-SQLite" +version = "2.2.0rc1-1" +source = { + url = "http://luasql.luaforge.net/luasql-2.2.0rc1.tar.gz", +} +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 = "make", + variables = { + T="sqlite", + LIB_OPTION = "$(LIBFLAG) -L$(SQLITE_LIBDIR) -lsqlite", + CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR) -I$(SQLITE_INCDIR)" + }, + build_variables = { + DRIVER_LIBS="", + }, + install_variables = { + LUA_LIBDIR = "$(LIBDIR)", + } +} diff --git a/rockspec/luasql-sqlite3-2.2.0rc1-1.rockspec b/rockspec/luasql-sqlite3-2.2.0rc1-1.rockspec new file mode 100644 index 0000000..0ed5251 --- /dev/null +++ b/rockspec/luasql-sqlite3-2.2.0rc1-1.rockspec @@ -0,0 +1,45 @@ +package = "LuaSQL-SQLite3" +version = "2.2.0rc1-1" +source = { + url = "http://luasql.luaforge.net/luasql-2.2.0rc1.tar.gz", +} +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)", + }, + platforms = { + win32 = { + variables = { + LIB_OPTION = "$(SQLITE_LIB) $(LUA_LIBDIR)\\lua5.1.lib", + CFLAGS = "$(CFLAGS) /I$(LUA_INCDIR) /I$(SQLITE_INCDIR)" + } + } + } +}