pkgsrc-WIP-changes archive

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

lua-sql-sqlite: Revamp for sqlite 2.x



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Oct 8 13:55:25 2016 +0200
Changeset:	00fe648a409dc86adcbe379b4f961f7a90d8e15e

Modified Files:
	lua-sql-sqlite/Makefile
	lua-sql-sqlite/PLIST

Log Message:
lua-sql-sqlite: Revamp for sqlite 2.x

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=00fe648a409dc86adcbe379b4f961f7a90d8e15e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lua-sql-sqlite/Makefile | 10 +++++-----
 lua-sql-sqlite/PLIST    |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs:
diff --git a/lua-sql-sqlite/Makefile b/lua-sql-sqlite/Makefile
index 8eab486..a794c3d 100644
--- a/lua-sql-sqlite/Makefile
+++ b/lua-sql-sqlite/Makefile
@@ -9,17 +9,17 @@ GITHUB_TAG=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://www.keplerproject.org/luasql/
-COMMENT=	MySQL bindings for Lua
+COMMENT=	SQLite 2.x bindings for Lua
 
 USE_TOOLS=		gmake
-BUILD_TARGET=		mysql
+BUILD_TARGET=		sqlite
 
 INSTALLATION_DIRS=	lib
-MAKE_FLAGS+=		DRIVER_LIBS_mysql="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib -L${BUILDLINK_PREFIX.mysql-client}/lib -lmysqlclient"
-MAKE_FLAGS+=		DRIVER_INCS_mysql=-I${BUILDLINK_PREFIX.mysql-client}/include/mysql
+MAKE_FLAGS+=		DRIVER_LIBS_sqlite="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.sqlite}/lib -L${BUILDLINK_PREFIX.sqlite}/lib -lsqlite"
+MAKE_FLAGS+=		DRIVER_INCS_sqlite=-I${BUILDLINK_PREFIX.sqlite}/includel
 INSTALL_MAKE_FLAGS+=	PREFIX=${DESTDIR}${PREFIX}
 INSTALL_MAKE_FLAGS+=	LUA_LIBDIR=${DESTDIR}${PREFIX}/${LUA_CDIR}
 
 .include "../../lang/lua/module.mk"
-.include "../../mk/mysql.buildlink3.mk"
+.include "../../databases/sqlite/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/lua-sql-sqlite/PLIST b/lua-sql-sqlite/PLIST
index f20b12c..094f57b 100644
--- a/lua-sql-sqlite/PLIST
+++ b/lua-sql-sqlite/PLIST
@@ -1,2 +1,2 @@
 @comment $NetBSD$
-${LUA_CDIR}/luasql/mysql.so
+${LUA_CDIR}/luasql/sqlite.so


Home | Main Index | Thread Index | Old Index