2.2.0rc1 rockspecs

This commit is contained in:
mascarenhas 2008-04-14 20:52:07 +00:00
parent f6c0e05c68
commit e4826280a7
3 changed files with 119 additions and 0 deletions

View File

@ -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)",
}
}

View File

@ -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)",
}
}

View File

@ -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)"
}
}
}
}