pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/lua-sqlite Initial import of lua-sqlite-2003...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/74f9d21ebee0
branches:  trunk
changeset: 472150:74f9d21ebee0
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon Apr 05 14:16:14 2004 +0000

description:
Initial import of lua-sqlite-20030228 from pkgsrc-wip, packaged by
pancake.

LuaSQLite is a SQLite binding for LUA language.

diffstat:

 databases/lua-sqlite/DESCR    |   1 +
 databases/lua-sqlite/MESSAGE  |   9 +++++++++
 databases/lua-sqlite/Makefile |  26 ++++++++++++++++++++++++++
 databases/lua-sqlite/PLIST    |   2 ++
 databases/lua-sqlite/distinfo |   4 ++++
 5 files changed, 42 insertions(+), 0 deletions(-)

diffs (62 lines):

diff -r c30f022e92cd -r 74f9d21ebee0 databases/lua-sqlite/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sqlite/DESCR        Mon Apr 05 14:16:14 2004 +0000
@@ -0,0 +1,1 @@
+LuaSQLite is a SQLite binding for LUA language.
diff -r c30f022e92cd -r 74f9d21ebee0 databases/lua-sqlite/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sqlite/MESSAGE      Mon Apr 05 14:16:14 2004 +0000
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/04/05 14:16:14 xtraeme Exp $
+
+To use luasqlite in your lua programs you must set this environment
+variable:
+
+   LUA_INIT = "loadlib('${PREFIX}/lib/libluasqlite.so','luaLM_import')();"
+
+===========================================================================
diff -r c30f022e92cd -r 74f9d21ebee0 databases/lua-sqlite/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sqlite/Makefile     Mon Apr 05 14:16:14 2004 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/05 14:16:15 xtraeme Exp $
+#
+
+DISTNAME=      lsqlite_src
+PKGNAME=       lua-sqlite-20030228
+CATEGORIES=    databases
+MASTER_SITES=  http://lua-users.org/files/wiki_insecure/binary_modules/luasqlite/
+EXTRACT_SUFX=  .zip
+
+MAINTAINER=    pancake%phreaker.net@localhost
+HOMEPAGE=      http://lua-users.org/wiki/LuaSqlite
+COMMENT=       SQLite binding for LUA
+
+WRKSRC=                ${WRKDIR}
+USE_BUILDLINK3=        yes
+
+do-build:
+       ${CC} ${WRKSRC}/lsqlite.c ${CFLAGS} ${LDFLAGS} \
+       -shared -llua -lsqlite -llualib -o ${WRKSRC}/libluasqlite.so
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/libluasqlite.so ${PREFIX}/lib
+
+.include "../../databases/sqlite/buildlink3.mk"
+.include "../../lang/lua/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c30f022e92cd -r 74f9d21ebee0 databases/lua-sqlite/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sqlite/PLIST        Mon Apr 05 14:16:14 2004 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/05 14:16:15 xtraeme Exp $
+lib/libluasqlite.so
diff -r c30f022e92cd -r 74f9d21ebee0 databases/lua-sqlite/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/lua-sqlite/distinfo     Mon Apr 05 14:16:14 2004 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/05 14:16:15 xtraeme Exp $
+
+SHA1 (lsqlite_src.zip) = 4d6159a62f1214bb658a3c4666eb8ca82b1ca1d7
+Size (lsqlite_src.zip) = 321990 bytes



Home | Main Index | Thread Index | Old Index