pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/lua-sql-sqlite3 Import SQLite 3.x luasql 2.3...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ca78a4d7fe67
branches:  trunk
changeset: 353512:ca78a4d7fe67
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Sat Oct 08 12:58:22 2016 +0000

description:
Import SQLite 3.x luasql 2.3.2 as databases/lua-sql-sqlite3

LuaSQL is a simple interface from Lua to a DBMS. It enables a Lua program to:
  * Connect to ODBC, Oracle, MySQL and PostgreSQL databases;
  * Execute arbitrary SQL statements;
  * Retrieve results in a row-by-row cursor fashion;

This package provides access to SQLite 3.x.

diffstat:

 databases/lua-sql-sqlite3/DESCR    |   6 ++++++
 databases/lua-sql-sqlite3/Makefile |  16 ++++++++++++++++
 databases/lua-sql-sqlite3/PLIST    |   2 ++
 3 files changed, 24 insertions(+), 0 deletions(-)

diffs (36 lines):

diff -r 8be26191fb4e -r ca78a4d7fe67 databases/lua-sql-sqlite3/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sql-sqlite3/DESCR   Sat Oct 08 12:58:22 2016 +0000
@@ -0,0 +1,6 @@
+LuaSQL is a simple interface from Lua to a DBMS. It enables a Lua program to:
+  * Connect to ODBC, Oracle, MySQL and PostgreSQL databases;
+  * Execute arbitrary SQL statements;
+  * Retrieve results in a row-by-row cursor fashion;
+
+This package provides access to SQLite3.
diff -r 8be26191fb4e -r ca78a4d7fe67 databases/lua-sql-sqlite3/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sql-sqlite3/Makefile        Sat Oct 08 12:58:22 2016 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2016/10/08 12:58:22 kamil Exp $
+
+.include "../../databases/lua-sql-mysql/Makefile.common"
+
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/luasql/sql-sqlite3/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       SQLite 3.x bindings for Lua
+
+BUILD_TARGET=  sqlite3
+
+MAKE_FLAGS+=   DRIVER_LIBS_sqlite="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.sqlite3}/lib -L${BUILDLINK_PREFIX.sqlite3}/lib -lsqlite3"
+MAKE_FLAGS+=   DRIVER_INCS_sqlite=-I${BUILDLINK_PREFIX.sqlite3}/includel
+
+.include "../../databases/sqlite/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8be26191fb4e -r ca78a4d7fe67 databases/lua-sql-sqlite3/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sql-sqlite3/PLIST   Sat Oct 08 12:58:22 2016 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/08 12:58:22 kamil Exp $
+${LUA_CDIR}/luasql/sqlite3.so



Home | Main Index | Thread Index | Old Index