pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/lua-sql-postgres Import PostgreSQL luasql 2....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/991f26832835
branches:  trunk
changeset: 353510:991f26832835
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Sat Oct 08 12:55:54 2016 +0000

description:
Import PostgreSQL luasql 2.3.2 as databases/lua-sql-postgres

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 PostgreSQL.

diffstat:

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

diffs (36 lines):

diff -r 71c78d66efdb -r 991f26832835 databases/lua-sql-postgres/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sql-postgres/DESCR  Sat Oct 08 12:55:54 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 PostgreSQL.
diff -r 71c78d66efdb -r 991f26832835 databases/lua-sql-postgres/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sql-postgres/Makefile       Sat Oct 08 12:55:54 2016 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2016/10/08 12:55:54 kamil Exp $
+
+.include "../../databases/lua-sql-mysql/Makefile.common"
+
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/luasql/sql-postgres/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       PostgreSQL bindings for Lua
+
+BUILD_TARGET=  postgres
+
+MAKE_FLAGS+=   DRIVER_LIBS_postgres="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.${PGSQL_TYPE}}/lib -L${BUILDLINK_PREFIX.${PGSQL_TYPE}}/lib -lpq"
+MAKE_FLAGS+=   DRIVER_INCS_postgres=-I${BUILDLINK_PREFIX.${PGSQL_TYPE}}/include
+
+.include "../../mk/pgsql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 71c78d66efdb -r 991f26832835 databases/lua-sql-postgres/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sql-postgres/PLIST  Sat Oct 08 12:55:54 2016 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/08 12:55:54 kamil Exp $
+${LUA_CDIR}/luasql/postgres.so



Home | Main Index | Thread Index | Old Index