diff options
author | adam <adam@pkgsrc.org> | 2013-07-04 18:06:24 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2013-07-04 18:06:24 +0000 |
commit | e2805017d36dd85a4af623b2441c125f6e9c7648 (patch) | |
tree | 831b8ca6d68a27a411609eea569d3a5242e1dc4e | |
parent | 83a9dad1bf1e51bb5b487106b3d462ffacef61c2 (diff) | |
download | pkgsrc-e2805017d36dd85a4af623b2441c125f6e9c7648.tar.gz |
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.
-rw-r--r-- | databases/lua-sqlite3/DESCR | 11 | ||||
-rw-r--r-- | databases/lua-sqlite3/Makefile | 17 | ||||
-rw-r--r-- | databases/lua-sqlite3/PLIST | 5 | ||||
-rw-r--r-- | databases/lua-sqlite3/distinfo | 6 | ||||
-rw-r--r-- | databases/lua-sqlite3/patches/patch-configure | 14 |
5 files changed, 53 insertions, 0 deletions
diff --git a/databases/lua-sqlite3/DESCR b/databases/lua-sqlite3/DESCR new file mode 100644 index 00000000000..988e01fdf1a --- /dev/null +++ b/databases/lua-sqlite3/DESCR @@ -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 --git a/databases/lua-sqlite3/Makefile b/databases/lua-sqlite3/Makefile new file mode 100644 index 00000000000..46cdd84585d --- /dev/null +++ b/databases/lua-sqlite3/Makefile @@ -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 +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 --git a/databases/lua-sqlite3/PLIST b/databases/lua-sqlite3/PLIST new file mode 100644 index 00000000000..b2d04e09e25 --- /dev/null +++ b/databases/lua-sqlite3/PLIST @@ -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 --git a/databases/lua-sqlite3/distinfo b/databases/lua-sqlite3/distinfo new file mode 100644 index 00000000000..7a09b0c9ee8 --- /dev/null +++ b/databases/lua-sqlite3/distinfo @@ -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 --git a/databases/lua-sqlite3/patches/patch-configure b/databases/lua-sqlite3/patches/patch-configure new file mode 100644 index 00000000000..e4bbbb50907 --- /dev/null +++ b/databases/lua-sqlite3/patches/patch-configure @@ -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 |