From c7d894393260b174a661ea484740de80d6ae7b4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Guisasola?= Date: Wed, 31 Oct 2018 10:47:11 -0300 Subject: [PATCH] New rockspec for Firebird driver. --- rockspec/luasql-firebird-2.4.0-1.rockspec | 35 +++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 rockspec/luasql-firebird-2.4.0-1.rockspec diff --git a/rockspec/luasql-firebird-2.4.0-1.rockspec b/rockspec/luasql-firebird-2.4.0-1.rockspec new file mode 100644 index 0000000..29b5b03 --- /dev/null +++ b/rockspec/luasql-firebird-2.4.0-1.rockspec @@ -0,0 +1,35 @@ +package = "LuaSQL-Firebird" +version = "2.4.0-1" +source = { + url = "git://github.com/keplerproject/luasql.git", + branch = "v2.4.0", +} +description = { + summary = "Database connectivity for Lua (Firebird 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://keplerproject.github.io/luasql/" +} +dependencies = { + "lua >= 5.1" +} +external_dependencies = { + FB = { + header = "ibase.h" + } +} +build = { + type = "builtin", + modules = { + ["luasql.firebird"] = { + sources = { "src/luasql.c", "src/ls_firebird.c" }, + libraries = { "fbclient" }, + incdirs = { "$(FB_INCDIR)" }, + libdirs = { "$(FB_LIBDIR)" } + } + } +}