pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/lua-sql-mysql
Module Name: pkgsrc
Committed By: kamil
Date: Sat Oct 8 12:53:54 UTC 2016
Added Files:
pkgsrc/databases/lua-sql-mysql: DESCR Makefile Makefile.common PLIST
distinfo
Log Message:
Import MySQL luasql 2.3.2 as databases/lua-sql-mysql
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 MySQL.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/lua-sql-mysql/DESCR \
pkgsrc/databases/lua-sql-mysql/Makefile \
pkgsrc/databases/lua-sql-mysql/Makefile.common \
pkgsrc/databases/lua-sql-mysql/PLIST \
pkgsrc/databases/lua-sql-mysql/distinfo
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-mysql/DESCR
diff -u /dev/null pkgsrc/databases/lua-sql-mysql/DESCR:1.1
--- /dev/null Sat Oct 8 12:53:54 2016
+++ pkgsrc/databases/lua-sql-mysql/DESCR Sat Oct 8 12:53: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 MySQL.
Index: pkgsrc/databases/lua-sql-mysql/Makefile
diff -u /dev/null pkgsrc/databases/lua-sql-mysql/Makefile:1.1
--- /dev/null Sat Oct 8 12:53:54 2016
+++ pkgsrc/databases/lua-sql-mysql/Makefile Sat Oct 8 12:53:54 2016
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2016/10/08 12:53:54 kamil Exp $
+
+.include "Makefile.common"
+
+PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/luasql/sql-mysql/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= MySQL bindings for Lua
+
+BUILD_TARGET= mysql
+
+MAKE_FLAGS+= DRIVER_LIBS_mysql="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib -L${BUILDLINK_PREFIX.mysql-client}/lib -lmysqlclient"
+MAKE_FLAGS+= DRIVER_INCS_mysql=-I${BUILDLINK_PREFIX.mysql-client}/include/mysql
+
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/databases/lua-sql-mysql/Makefile.common
diff -u /dev/null pkgsrc/databases/lua-sql-mysql/Makefile.common:1.1
--- /dev/null Sat Oct 8 12:53:54 2016
+++ pkgsrc/databases/lua-sql-mysql/Makefile.common Sat Oct 8 12:53:54 2016
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile.common,v 1.1 2016/10/08 12:53:54 kamil Exp $
+#
+# used by databases/lua-sql-postgres/Makefile
+# used by databases/lua-sql-sqlite/Makefile
+# used by databases/lua-sql-sqlite3/Makefile
+
+# TODO: firebird, oci8, odbc
+
+GITHUB_PROJECT= luasql
+DISTNAME= luasql-2.3.2
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_GITHUB:=keplerproject/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+LICENSE= mit
+HOMEPAGE= http://www.keplerproject.org/luasql/
+
+USE_TOOLS+= gmake
+
+MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
+MAKE_FLAGS+= LUA_LIBDIR=${DESTDIR}${PREFIX}/${LUA_CDIR}
+MAKE_FLAGS+= LUA_DIR=${DESTDIR}${PREFIX}/${LUA_LDIR}
+MAKE_FLAGS+= LUA_INC=${DESTDIR}${PREFIX}/${LUA_INCDIR}
+
+DISTINFO_FILE= ${.CURDIR}/../../databases/lua-sql-mysql/distinfo
+PATCHDIR= ${.CURDIR}/../../databases/lua-sql-mysql/patches
+
+.include "../../lang/lua/module.mk"
Index: pkgsrc/databases/lua-sql-mysql/PLIST
diff -u /dev/null pkgsrc/databases/lua-sql-mysql/PLIST:1.1
--- /dev/null Sat Oct 8 12:53:54 2016
+++ pkgsrc/databases/lua-sql-mysql/PLIST Sat Oct 8 12:53:54 2016
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/08 12:53:54 kamil Exp $
+${LUA_CDIR}/luasql/mysql.so
Index: pkgsrc/databases/lua-sql-mysql/distinfo
diff -u /dev/null pkgsrc/databases/lua-sql-mysql/distinfo:1.1
--- /dev/null Sat Oct 8 12:53:54 2016
+++ pkgsrc/databases/lua-sql-mysql/distinfo Sat Oct 8 12:53:54 2016
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/10/08 12:53:54 kamil 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