Import of pkgsrc-2014Q1
This commit is contained in:
11
databases/lua-sqlite3/DESCR
Normal file
11
databases/lua-sqlite3/DESCR
Normal file
@@ -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.
|
||||
19
databases/lua-sqlite3/Makefile
Normal file
19
databases/lua-sqlite3/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
# $NetBSD: Makefile,v 1.3 2013/10/30 06:03:38 dholland Exp $
|
||||
|
||||
DISTNAME= lua-sqlite3-0.4.1
|
||||
PKGNAME= ${LUA_PKGPREFIX}-sqlite3-0.4.1
|
||||
PKGREVISION= 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"
|
||||
5
databases/lua-sqlite3/PLIST
Normal file
5
databases/lua-sqlite3/PLIST
Normal file
@@ -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
|
||||
6
databases/lua-sqlite3/distinfo
Normal file
6
databases/lua-sqlite3/distinfo
Normal file
@@ -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
|
||||
14
databases/lua-sqlite3/patches/patch-configure
Normal file
14
databases/lua-sqlite3/patches/patch-configure
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user