pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/lua-sqlite3 Lua-Sqlite3 is a binding of Sqli...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1caa7439c547
branches:  trunk
changeset: 621123:1caa7439c547
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Jul 04 18:06:24 2013 +0000

description:
Lua-Sqlite3 is a binding of Sqlite3 for Lua.

Lua-Sqlite3 is unique in contrast to other database bindings that it consists
of two layers. The first layer translates the SQLite 3 implementation's C API
to Lua. The first layer is called the backend. The second layers are frontend
layers, written in Lua. These layers provide a nice and smart view of the
database

Currently, Lua-Sqlite3 implements two frontends:
* A specialiced frontend which provides all sqlite3 capabilities.
* A LuaSQL compatible frontend as used on the Kepler Project.

diffstat:

 databases/lua-sqlite3/DESCR                   |  11 +++++++++++
 databases/lua-sqlite3/Makefile                |  17 +++++++++++++++++
 databases/lua-sqlite3/PLIST                   |   5 +++++
 databases/lua-sqlite3/distinfo                |   6 ++++++
 databases/lua-sqlite3/patches/patch-configure |  14 ++++++++++++++
 5 files changed, 53 insertions(+), 0 deletions(-)

diffs (73 lines):

diff -r 969fcea9e079 -r 1caa7439c547 databases/lua-sqlite3/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sqlite3/DESCR       Thu Jul 04 18:06:24 2013 +0000
@@ -0,0 +1,11 @@
+Lua-Sqlite3 is a binding of Sqlite3 for Lua.
+
+Lua-Sqlite3 is unique in contrast to other database bindings that it consists
+of two layers. The first layer translates the SQLite 3 implementation's C API
+to Lua. The first layer is called the backend. The second layers are frontend
+layers, written in Lua. These layers provide a nice and smart view of the
+database
+
+Currently, Lua-Sqlite3 implements two frontends:
+* A specialiced frontend which provides all sqlite3 capabilities.
+* A LuaSQL compatible frontend as used on the Kepler Project.
diff -r 969fcea9e079 -r 1caa7439c547 databases/lua-sqlite3/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sqlite3/Makefile    Thu Jul 04 18:06:24 2013 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2013/07/04 18:06:24 adam Exp $
+
+DISTNAME=      lua-sqlite3-0.4.1
+CATEGORIES=    databases
+MASTER_SITES=  http://www.mroth.net/lua-sqlite3/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.mroth.net/lua-sqlite3/
+COMMENT=       SQLite3 binding for LUA
+LICENSE=       mit
+
+GNU_CONFIGURE=         yes
+
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 969fcea9e079 -r 1caa7439c547 databases/lua-sqlite3/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sqlite3/PLIST       Thu Jul 04 18:06:24 2013 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2013/07/04 18:06:24 adam Exp $
+lib/lua/libluasqlite3-loader.lua
+lib/lua/libluasqlite3.so
+lib/lua/luasql-sqlite3.lua
+lib/lua/sqlite3.lua
diff -r 969fcea9e079 -r 1caa7439c547 databases/lua-sqlite3/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sqlite3/distinfo    Thu Jul 04 18:06:24 2013 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2013/07/04 18:06:24 adam Exp $
+
+SHA1 (lua-sqlite3-0.4.1.tar.bz2) = cdc1043c1c5a0d5456e5b5e9bfb23ad64644fb99
+RMD160 (lua-sqlite3-0.4.1.tar.bz2) = ab502207f8cdaaf7749500b2f02cf7990da1f87c
+Size (lua-sqlite3-0.4.1.tar.bz2) = 54780 bytes
+SHA1 (patch-configure) = b0e6f7045da2be407b3babe8098aa4d2a87248d8
diff -r 969fcea9e079 -r 1caa7439c547 databases/lua-sqlite3/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sqlite3/patches/patch-configure     Thu Jul 04 18:06:24 2013 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-configure,v 1.1 2013/07/04 18:06:24 adam Exp $
+
+nm -D is not portable, but -llua is needed anyway.
+
+--- configure.orig     2013-07-04 17:48:44.000000000 +0000
++++ configure
+@@ -3513,7 +3513,6 @@ fi
+ echo "$as_me:$LINENO: checking if we need -llua" >&5
+ echo $ECHO_N "checking if we need -llua... $ECHO_C" >&6
+ need_llua=yes
+-nm -D "$LUA" | $EGREP "T lua_open$" >/dev/null && need_llua=no
+ echo "$as_me:$LINENO: result: $need_llua" >&5
+ echo "${ECHO_T}$need_llua" >&6
+ if test $need_llua = yes; then



Home | Main Index | Thread Index | Old Index