pkgsrc-Changes archive

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

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



Module Name:    pkgsrc
Committed By:   kamil
Date:           Sat Oct  8 12:55:54 UTC 2016

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

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/lua-sql-postgres/DESCR \
    pkgsrc/databases/lua-sql-postgres/Makefile \
    pkgsrc/databases/lua-sql-postgres/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-postgres/DESCR
diff -u /dev/null pkgsrc/databases/lua-sql-postgres/DESCR:1.1
--- /dev/null   Sat Oct  8 12:55:54 2016
+++ pkgsrc/databases/lua-sql-postgres/DESCR     Sat Oct  8 12:55:54 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 PostgreSQL.
Index: pkgsrc/databases/lua-sql-postgres/Makefile
diff -u /dev/null pkgsrc/databases/lua-sql-postgres/Makefile:1.1
--- /dev/null   Sat Oct  8 12:55:54 2016
+++ pkgsrc/databases/lua-sql-postgres/Makefile  Sat Oct  8 12:55:54 2016
@@ -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"
Index: pkgsrc/databases/lua-sql-postgres/PLIST
diff -u /dev/null pkgsrc/databases/lua-sql-postgres/PLIST:1.1
--- /dev/null   Sat Oct  8 12:55:54 2016
+++ pkgsrc/databases/lua-sql-postgres/PLIST     Sat Oct  8 12:55:54 2016
@@ -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