pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/lua-sql-sqlite



Module Name:    pkgsrc
Committed By:   kamil
Date:           Sat Oct  8 12:57:07 UTC 2016

Added Files:
        pkgsrc/databases/lua-sql-sqlite: DESCR Makefile PLIST

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/lua-sql-sqlite/DESCR \
    pkgsrc/databases/lua-sql-sqlite/Makefile \
    pkgsrc/databases/lua-sql-sqlite/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/databases/lua-sql-sqlite/DESCR
diff -u /dev/null pkgsrc/databases/lua-sql-sqlite/DESCR:1.1
--- /dev/null   Sat Oct  8 12:57:07 2016
+++ pkgsrc/databases/lua-sql-sqlite/DESCR       Sat Oct  8 12:57:07 2016
@@ -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.
Index: pkgsrc/databases/lua-sql-sqlite/Makefile
diff -u /dev/null pkgsrc/databases/lua-sql-sqlite/Makefile:1.1
--- /dev/null   Sat Oct  8 12:57:07 2016
+++ pkgsrc/databases/lua-sql-sqlite/Makefile    Sat Oct  8 12:57:07 2016
@@ -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"
Index: pkgsrc/databases/lua-sql-sqlite/PLIST
diff -u /dev/null pkgsrc/databases/lua-sql-sqlite/PLIST:1.1
--- /dev/null   Sat Oct  8 12:57:07 2016
+++ pkgsrc/databases/lua-sql-sqlite/PLIST       Sat Oct  8 12:57:07 2016
@@ -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