summaryrefslogtreecommitdiff
path: root/databases/lua-sqlite
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-04-05 14:16:14 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-04-05 14:16:14 +0000
commit12fe969b57ff25f59cb57fb4553e21a0c3d4676f (patch)
treeec059a0790103da1580e4a53b4be54ccfb099b1a /databases/lua-sqlite
parentb2ff3dd185d8880b9cb66c59a793b788869111f2 (diff)
downloadpkgsrc-12fe969b57ff25f59cb57fb4553e21a0c3d4676f.tar.gz
Initial import of lua-sqlite-20030228 from pkgsrc-wip, packaged by
pancake. LuaSQLite is a SQLite binding for LUA language.
Diffstat (limited to 'databases/lua-sqlite')
-rw-r--r--databases/lua-sqlite/DESCR1
-rw-r--r--databases/lua-sqlite/MESSAGE9
-rw-r--r--databases/lua-sqlite/Makefile26
-rw-r--r--databases/lua-sqlite/PLIST2
-rw-r--r--databases/lua-sqlite/distinfo4
5 files changed, 42 insertions, 0 deletions
diff --git a/databases/lua-sqlite/DESCR b/databases/lua-sqlite/DESCR
new file mode 100644
index 00000000000..f34ffa4c84d
--- /dev/null
+++ b/databases/lua-sqlite/DESCR
@@ -0,0 +1 @@
+LuaSQLite is a SQLite binding for LUA language.
diff --git a/databases/lua-sqlite/MESSAGE b/databases/lua-sqlite/MESSAGE
new file mode 100644
index 00000000000..6713a184e1b
--- /dev/null
+++ b/databases/lua-sqlite/MESSAGE
@@ -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 --git a/databases/lua-sqlite/Makefile b/databases/lua-sqlite/Makefile
new file mode 100644
index 00000000000..c1a81286076
--- /dev/null
+++ b/databases/lua-sqlite/Makefile
@@ -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
+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 --git a/databases/lua-sqlite/PLIST b/databases/lua-sqlite/PLIST
new file mode 100644
index 00000000000..9bb722659f4
--- /dev/null
+++ b/databases/lua-sqlite/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/05 14:16:15 xtraeme Exp $
+lib/libluasqlite.so
diff --git a/databases/lua-sqlite/distinfo b/databases/lua-sqlite/distinfo
new file mode 100644
index 00000000000..f10b9f84ac9
--- /dev/null
+++ b/databases/lua-sqlite/distinfo
@@ -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