pkgsrc-WIP-changes archive

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

lua-sql-sqlite: Revamp package for Makefile.common



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Oct 8 14:08:47 2016 +0200
Changeset:	c7c1f7f11d317a2cb69ac4c68e0d36d2b9c45105

Modified Files:
	lua-sql-sqlite/Makefile

Log Message:
lua-sql-sqlite: Revamp package for Makefile.common

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

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

diffstat:
 lua-sql-sqlite/Makefile | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

diffs:
diff --git a/lua-sql-sqlite/Makefile b/lua-sql-sqlite/Makefile
index 42053ad..dde5e76 100644
--- a/lua-sql-sqlite/Makefile
+++ b/lua-sql-sqlite/Makefile
@@ -1,25 +1,16 @@
 # $NetBSD: Makefile,v 1.9 2012/11/25 23:32:27 othyro Exp $
 
-GITHUB_PROJECT=	luasql
-DISTNAME=	luasql-2.3.2
+.include "../../wip/lua-sql-mysql/Makefile.common"
+
 PKGNAME=	${LUA_PKGPREFIX}-${DISTNAME:S/luasql/sql-sqlite/}
-CATEGORIES=	databases lua
-MASTER_SITES=	${MASTER_SITE_GITHUB:=keplerproject/}
-GITHUB_TAG=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	http://www.keplerproject.org/luasql/
 COMMENT=	SQLite 2.x bindings for Lua
 
-USE_TOOLS=		gmake
-BUILD_TARGET=		sqlite
+BUILD_TARGET=	sqlite
 
-INSTALLATION_DIRS=	lib
-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}
+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
 
-.include "../../lang/lua/module.mk"
 .include "../../databases/sqlite/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index