summaryrefslogtreecommitdiff
path: root/databases/lua-sqlite/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-04-05 14:16:14 +0000
committerxtraeme <xtraeme>2004-04-05 14:16:14 +0000
commitebfaff1ff30e1c17719cc95c3ab8cfa9580b1498 (patch)
treeec059a0790103da1580e4a53b4be54ccfb099b1a /databases/lua-sqlite/Makefile
parent8d3d0da7e16896a11c3c5e5b0416126e60459305 (diff)
downloadpkgsrc-ebfaff1ff30e1c17719cc95c3ab8cfa9580b1498.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/Makefile')
-rw-r--r--databases/lua-sqlite/Makefile26
1 files changed, 26 insertions, 0 deletions
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"