pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/lua-sql-sqlite Import SQLite 2.x luasql 2.3....
details: https://anonhg.NetBSD.org/pkgsrc/rev/8be26191fb4e
branches: trunk
changeset: 353511:8be26191fb4e
user: kamil <kamil%pkgsrc.org@localhost>
date: Sat Oct 08 12:57:07 2016 +0000
description:
Import SQLite 2.x luasql 2.3.2 as databases/lua-sql-sqlite
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 2.x.
diffstat:
databases/lua-sql-sqlite/DESCR | 6 ++++++
databases/lua-sql-sqlite/Makefile | 16 ++++++++++++++++
databases/lua-sql-sqlite/PLIST | 2 ++
3 files changed, 24 insertions(+), 0 deletions(-)
diffs (36 lines):
diff -r 991f26832835 -r 8be26191fb4e databases/lua-sql-sqlite/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sql-sqlite/DESCR Sat Oct 08 12:57:07 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 SQLite 2.x.
diff -r 991f26832835 -r 8be26191fb4e databases/lua-sql-sqlite/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sql-sqlite/Makefile Sat Oct 08 12:57:07 2016 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2016/10/08 12:57:07 kamil Exp $
+
+.include "../../databases/lua-sql-mysql/Makefile.common"
+
+PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/luasql/sql-sqlite/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= SQLite 2.x bindings for Lua
+
+BUILD_TARGET= sqlite
+
+MAKE_FLAGS+= DRIVER_LIBS_sqlite="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.sqlite}/lib -L${BUILDLINK_PREFIX.sqlite}/lib -lsqlite"
+MAKE_FLAGS+= DRIVER_INCS_sqlite=-I${BUILDLINK_PREFIX.sqlite}/includel
+
+.include "../../databases/sqlite/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 991f26832835 -r 8be26191fb4e databases/lua-sql-sqlite/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sql-sqlite/PLIST Sat Oct 08 12:57:07 2016 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/08 12:57:07 kamil Exp $
+${LUA_CDIR}/luasql/sqlite.so
Home |
Main Index |
Thread Index |
Old Index