pkgsrc-WIP-changes archive

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

lua-sql-sqlite3: 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:09:55 2016 +0200
Changeset:	eb5cbdac456ce96b440d69366af3c67791b900c7

Modified Files:
	lua-sql-sqlite3/Makefile

Log Message:
lua-sql-sqlite3: 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=eb5cbdac456ce96b440d69366af3c67791b900c7

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

diffstat:
 lua-sql-sqlite3/Makefile | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)

diffs:
diff --git a/lua-sql-sqlite3/Makefile b/lua-sql-sqlite3/Makefile
index 1fe1ab4..11f43cc 100644
--- a/lua-sql-sqlite3/Makefile
+++ b/lua-sql-sqlite3/Makefile
@@ -1,25 +1,14 @@
 # $NetBSD: Makefile,v 1.9 2012/11/25 23:32:27 othyro Exp $
 
-GITHUB_PROJECT=	luasql
-DISTNAME=	luasql-2.3.2
 PKGNAME=	${LUA_PKGPREFIX}-${DISTNAME:S/luasql/sql-sqlite3/}
-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 3.x bindings for Lua
 
-USE_TOOLS=		gmake
-BUILD_TARGET=		sqlite3
+BUILD_TARGET=	sqlite3
 
-INSTALLATION_DIRS=	lib
-MAKE_FLAGS+=		DRIVER_LIBS_sqlite="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.sqlite3}/lib -L${BUILDLINK_PREFIX.sqlite3}/lib -lsqlite3"
-MAKE_FLAGS+=		DRIVER_INCS_sqlite=-I${BUILDLINK_PREFIX.sqlite3}/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.sqlite3}/lib -L${BUILDLINK_PREFIX.sqlite3}/lib -lsqlite3"
+MAKE_FLAGS+=	DRIVER_INCS_sqlite=-I${BUILDLINK_PREFIX.sqlite3}/includel
 
-.include "../../lang/lua/module.mk"
 .include "../../databases/sqlite/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index