diff options
author | kamil <kamil> | 2016-10-08 12:55:54 +0000 |
---|---|---|
committer | kamil <kamil> | 2016-10-08 12:55:54 +0000 |
commit | c834c30e1f824545464ea59504e3434fbdc5ff44 (patch) | |
tree | 23004bfa0d7e56f9c1ffce24cacae4e1f2a5ea1d | |
parent | e23cc32392c87c045087ddee39491d0cfedf7907 (diff) | |
download | pkgsrc-c834c30e1f824545464ea59504e3434fbdc5ff44.tar.gz |
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.
-rw-r--r-- | databases/lua-sql-postgres/DESCR | 6 | ||||
-rw-r--r-- | databases/lua-sql-postgres/Makefile | 16 | ||||
-rw-r--r-- | databases/lua-sql-postgres/PLIST | 2 |
3 files changed, 24 insertions, 0 deletions
diff --git a/databases/lua-sql-postgres/DESCR b/databases/lua-sql-postgres/DESCR new file mode 100644 index 00000000000..a2c5856d424 --- /dev/null +++ b/databases/lua-sql-postgres/DESCR @@ -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 --git a/databases/lua-sql-postgres/Makefile b/databases/lua-sql-postgres/Makefile new file mode 100644 index 00000000000..85c8f91bba0 --- /dev/null +++ b/databases/lua-sql-postgres/Makefile @@ -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 +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 --git a/databases/lua-sql-postgres/PLIST b/databases/lua-sql-postgres/PLIST new file mode 100644 index 00000000000..957319a2c57 --- /dev/null +++ b/databases/lua-sql-postgres/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2016/10/08 12:55:54 kamil Exp $ +${LUA_CDIR}/luasql/postgres.so |