Skip to content

Commit

Permalink
Rockspecs for new version.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasguisasola committed Feb 23, 2017
1 parent 63f6903 commit 2f2c4eb
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 0 deletions.
35 changes: 35 additions & 0 deletions rockspec/luasql-mysql-2.3.5-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
package = "LuaSQL-MySQL"
version = "2.3.5-1"
source = {
url = "git://github.com/keplerproject/luasql.git",
branch = "v2.3.5",
}
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)" }
}
}
}
35 changes: 35 additions & 0 deletions rockspec/luasql-postgres-2.3.5-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
package = "LuaSQL-Postgres"
version = "2.3.5-1"
source = {
url = "git://github.com/keplerproject/luasql.git",
branch = "v2.3.5",
}
description = {
summary = "Database connectivity for Lua (Postgres 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.0"
}
external_dependencies = {
PGSQL = {
header = "pg_config.h"
}
}
build = {
type = "builtin",
modules = {
["luasql.postgres"] = {
sources = { "src/luasql.c", "src/ls_postgres.c" },
libraries = { "pq" },
incdirs = { "$(PGSQL_INCDIR)" },
libdirs = { "$(PGSQL_LIBDIR)" }
}
}
}
35 changes: 35 additions & 0 deletions rockspec/luasql-sqlite3-2.3.5-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
package = "LuaSQL-SQLite3"
version = "2.3.5-1"
source = {
url = "git://github.com/keplerproject/luasql.git",
branch = "v2.3.5",
}
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)" }
}
}
}

0 comments on commit 2f2c4eb

Please sign in to comment.