pkgsrc-WIP-changes archive

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

Import lua52-sql-mysql-2.3.2 as wip/lua-sql-sqlite3.



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Oct 8 13:58:22 2016 +0200
Changeset:	e54d3e8ece7c51817fe5402ff9bacd1b67740353

Added Files:
	lua-sql-sqlite3/DESCR
	lua-sql-sqlite3/Makefile
	lua-sql-sqlite3/PLIST
	lua-sql-sqlite3/distinfo

Log Message:
Import lua52-sql-mysql-2.3.2 as wip/lua-sql-sqlite3.

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;

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e54d3e8ece7c51817fe5402ff9bacd1b67740353

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

diffstat:
 lua-sql-sqlite3/DESCR    |  4 ++++
 lua-sql-sqlite3/Makefile | 25 +++++++++++++++++++++++++
 lua-sql-sqlite3/PLIST    |  2 ++
 lua-sql-sqlite3/distinfo |  6 ++++++
 4 files changed, 37 insertions(+)

diffs:
diff --git a/lua-sql-sqlite3/DESCR b/lua-sql-sqlite3/DESCR
new file mode 100644
index 0000000..eaf3096
--- /dev/null
+++ b/lua-sql-sqlite3/DESCR
@@ -0,0 +1,4 @@
+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;
diff --git a/lua-sql-sqlite3/Makefile b/lua-sql-sqlite3/Makefile
new file mode 100644
index 0000000..a794c3d
--- /dev/null
+++ b/lua-sql-sqlite3/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.9 2012/11/25 23:32:27 othyro Exp $
+
+GITHUB_PROJECT=	luasql
+DISTNAME=	luasql-2.3.2
+PKGNAME=	${LUA_PKGPREFIX}-${DISTNAME:S/luasql/sql-mysql/}
+CATEGORIES=	databases lua
+MASTER_SITES=	${MASTER_SITE_GITHUB:=keplerproject/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://www.keplerproject.org/luasql/
+COMMENT=	SQLite 2.x bindings for Lua
+
+USE_TOOLS=		gmake
+BUILD_TARGET=		sqlite
+
+INSTALLATION_DIRS=	lib
+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
+INSTALL_MAKE_FLAGS+=	PREFIX=${DESTDIR}${PREFIX}
+INSTALL_MAKE_FLAGS+=	LUA_LIBDIR=${DESTDIR}${PREFIX}/${LUA_CDIR}
+
+.include "../../lang/lua/module.mk"
+.include "../../databases/sqlite/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lua-sql-sqlite3/PLIST b/lua-sql-sqlite3/PLIST
new file mode 100644
index 0000000..094f57b
--- /dev/null
+++ b/lua-sql-sqlite3/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+${LUA_CDIR}/luasql/sqlite.so
diff --git a/lua-sql-sqlite3/distinfo b/lua-sql-sqlite3/distinfo
new file mode 100644
index 0000000..82658fb
--- /dev/null
+++ b/lua-sql-sqlite3/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/02/26 15:03:07 poppnk Exp $
+
+SHA1 (luasql-2.3.2.tar.gz) = 089b797d22589277b9b2f926f4da008fe7026ccb
+RMD160 (luasql-2.3.2.tar.gz) = 478d699360fa9d0605a1801962b0bade6a8e6098
+SHA512 (luasql-2.3.2.tar.gz) = 6bfd25c494fa214c2f449d95448966b4872fa46a8df87969a9bd654c4f8c341f2a3a56b2bd6ca6cf09971caf5ab05a0c912fffe97dc782921572039308f7f8fa
+Size (luasql-2.3.2.tar.gz) = 100985 bytes


Home | Main Index | Thread Index | Old Index