Skip to content

Commit 81e1d21

Browse files
Rockspecs for the new version.
1 parent e9f4710 commit 81e1d21

File tree

6 files changed

+210
-0
lines changed

6 files changed

+210
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
package = "LuaSQL-MySQL"
2+
version = "2.4.0-1"
3+
source = {
4+
url = "git://github.com/keplerproject/luasql.git",
5+
branch = "v2.4.0",
6+
}
7+
description = {
8+
summary = "Database connectivity for Lua (MySQL driver)",
9+
detailed = [[
10+
LuaSQL is a simple interface from Lua to a DBMS. It enables a
11+
Lua program to connect to databases, execute arbitrary SQL statements
12+
and retrieve results in a row-by-row cursor fashion.
13+
]],
14+
license = "MIT/X11",
15+
homepage = "http://www.keplerproject.org/luasql/"
16+
}
17+
dependencies = {
18+
"lua >= 5.1"
19+
}
20+
external_dependencies = {
21+
MYSQL = {
22+
header = "mysql.h"
23+
}
24+
}
25+
build = {
26+
type = "builtin",
27+
modules = {
28+
["luasql.mysql"] = {
29+
sources = { "src/luasql.c", "src/ls_mysql.c" },
30+
libraries = { "mysqlclient" },
31+
incdirs = { "$(MYSQL_INCDIR)" },
32+
libdirs = { "$(MYSQL_LIBDIR)" }
33+
}
34+
}
35+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
package = "LuaSQL-OCI8"
2+
version = "2.4.5-1"
3+
source = {
4+
url = "git://github.com/keplerproject/luasql.git",
5+
branch = "v2.4.5",
6+
}
7+
description = {
8+
summary = "Database connectivity for Lua (Oracle driver)",
9+
detailed = [[
10+
LuaSQL is a simple interface from Lua to a DBMS. It enables a
11+
Lua program to connect to databases, execute arbitrary SQL statements
12+
and retrieve results in a row-by-row cursor fashion.
13+
]],
14+
license = "MIT/X11",
15+
homepage = "http://www.keplerproject.org/luasql/"
16+
}
17+
dependencies = {
18+
"lua >= 5.1"
19+
}
20+
external_dependencies = {
21+
OCI8 = {
22+
header = "oci.h"
23+
}
24+
}
25+
build = {
26+
type = "builtin",
27+
modules = {
28+
["luasql.oci8"] = {
29+
sources = { "src/luasql.c", "src/ls_oci8.c" },
30+
libraries = { "z", "clntsh", },
31+
incdirs = { "$(OCI8_INCDIR)" },
32+
libdirs = { "$(OCI8_LIBDIR)" }
33+
}
34+
}
35+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
package = "LuaSQL-ODBC"
2+
version = "2.4.0-1"
3+
source = {
4+
url = "git://github.com/keplerproject/luasql.git",
5+
branch = "v2.4.0",
6+
}
7+
description = {
8+
summary = "Database connectivity for Lua (ODBC driver)",
9+
detailed = [[
10+
LuaSQL is a simple interface from Lua to a DBMS. It enables a
11+
Lua program to connect to databases, execute arbitrary SQL statements
12+
and retrieve results in a row-by-row cursor fashion.
13+
]],
14+
license = "MIT/X11",
15+
homepage = "http://www.keplerproject.org/luasql/"
16+
}
17+
dependencies = {
18+
"lua >= 5.1"
19+
}
20+
external_dependencies = {
21+
ODBC = {
22+
header = "sql.h"
23+
}
24+
}
25+
build = {
26+
type = "builtin",
27+
modules = {
28+
["luasql.odbc"] = {
29+
sources = { "src/luasql.c", "src/ls_odbc.c" },
30+
libraries = { "odbc" },
31+
incdirs = { "$(ODBC_INCDIR)" },
32+
libdirs = { "$(ODBC_LIBDIR)" }
33+
}
34+
}
35+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
package = "LuaSQL-Postgres"
2+
version = "2.4.0-1"
3+
source = {
4+
url = "git://github.com/keplerproject/luasql.git",
5+
branch = "v2.4.0",
6+
}
7+
description = {
8+
summary = "Database connectivity for Lua (Postgres driver)",
9+
detailed = [[
10+
LuaSQL is a simple interface from Lua to a DBMS. It enables a
11+
Lua program to connect to databases, execute arbitrary SQL statements
12+
and retrieve results in a row-by-row cursor fashion.
13+
]],
14+
license = "MIT/X11",
15+
homepage = "http://keplerproject.github.io/luasql/"
16+
}
17+
dependencies = {
18+
"lua >= 5.0"
19+
}
20+
external_dependencies = {
21+
PGSQL = {
22+
header = "libpq-fe.h"
23+
}
24+
}
25+
build = {
26+
type = "builtin",
27+
modules = {
28+
["luasql.postgres"] = {
29+
sources = { "src/luasql.c", "src/ls_postgres.c" },
30+
libraries = { "pq" },
31+
incdirs = { "$(PGSQL_INCDIR)" },
32+
libdirs = { "$(PGSQL_LIBDIR)" }
33+
}
34+
}
35+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
package = "LuaSQL-SQLite"
2+
version = "2.4.0-1"
3+
source = {
4+
url = "git://github.com/keplerproject/luasql.git",
5+
branch = "v2.4.0",
6+
}
7+
description = {
8+
summary = "Database connectivity for Lua (SQLite driver)",
9+
detailed = [[
10+
LuaSQL is a simple interface from Lua to a DBMS. It enables a
11+
Lua program to connect to databases, execute arbitrary SQL statements
12+
and retrieve results in a row-by-row cursor fashion.
13+
]],
14+
license = "MIT/X11",
15+
homepage = "http://www.keplerproject.org/luasql/"
16+
}
17+
dependencies = {
18+
"lua >= 5.1"
19+
}
20+
external_dependencies = {
21+
SQLITE = {
22+
header = "sqlite.h"
23+
}
24+
}
25+
build = {
26+
type = "builtin",
27+
modules = {
28+
["luasql.sqlite"] = {
29+
sources = { "src/luasql.c", "src/ls_sqlite.c" },
30+
libraries = { "sqlite" },
31+
incdirs = { "$(SQLITE_INCDIR)" },
32+
libdirs = { "$(SQLITE_LIBDIR)" }
33+
}
34+
}
35+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
package = "LuaSQL-SQLite3"
2+
version = "2.4.0-1"
3+
source = {
4+
url = "git://github.com/keplerproject/luasql.git",
5+
branch = "v2.4.0",
6+
}
7+
description = {
8+
summary = "Database connectivity for Lua (SQLite3 driver)",
9+
detailed = [[
10+
LuaSQL is a simple interface from Lua to a DBMS. It enables a
11+
Lua program to connect to databases, execute arbitrary SQL statements
12+
and retrieve results in a row-by-row cursor fashion.
13+
]],
14+
license = "MIT/X11",
15+
homepage = "http://www.keplerproject.org/luasql/"
16+
}
17+
dependencies = {
18+
"lua >= 5.1"
19+
}
20+
external_dependencies = {
21+
SQLITE = {
22+
header = "sqlite3.h"
23+
}
24+
}
25+
build = {
26+
type = "builtin",
27+
modules = {
28+
["luasql.sqlite3"] = {
29+
sources = { "src/luasql.c", "src/ls_sqlite3.c" },
30+
libraries = { "sqlite3" },
31+
incdirs = { "$(SQLITE_INCDIR)" },
32+
libdirs = { "$(SQLITE_LIBDIR)" }
33+
}
34+
}
35+
}

0 commit comments

Comments
 (0)