pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lua-sql-mysql: Revamp for MySQL
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Fri Oct 7 18:53:44 2016 +0200
Changeset: d1ee80f134a0edc086bd01b6123d1897624968f5
Modified Files:
lua-sql-mysql/Makefile
Log Message:
lua-sql-mysql: Revamp for MySQL
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d1ee80f134a0edc086bd01b6123d1897624968f5
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
lua-sql-mysql/Makefile | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diffs:
diff --git a/lua-sql-mysql/Makefile b/lua-sql-mysql/Makefile
index 343fa79..863a45c 100644
--- a/lua-sql-mysql/Makefile
+++ b/lua-sql-mysql/Makefile
@@ -2,26 +2,24 @@
GITHUB_PROJECT= luasql
DISTNAME= luasql-2.3.2
-PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/luasql/sql-postgres/}
+PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/luasql/sql-mysql/}
CATEGORIES= databases lua
MASTER_SITES= ${MASTER_SITE_GITHUB:=keplerproject/}
GITHUB_TAG= v${PKGVERSION_NOREV}
-#https://github.com/keplerproject/luasql/archive/v2.3.2.zip
-
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://www.keplerproject.org/luasql/
-COMMENT= PostgreSQL bindings for Lua
+COMMENT= MySQL bindings for Lua
USE_TOOLS= gmake
-BUILD_TARGET= postgres
+BUILD_TARGET= mysql
INSTALLATION_DIRS= lib
-MAKE_FLAGS+= DRIVER_LIBS_postgres="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.${PGSQL_TYPE}}/lib -L${BUILDLINK_PREFIX.${PGSQL_TYPE}}/lib"
-MAKE_FLAGS+= DRIVER_INCS_postgres=-I${BUILDLINK_PREFIX.${PGSQL_TYPE}}/include
+MAKE_FLAGS+= DRIVER_LIBS_mysql="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib -L${BUILDLINK_PREFIX.mysql-client}/lib"
+MAKE_FLAGS+= DRIVER_INCS_mysql=-I${BUILDLINK_PREFIX.mysql-client}/include/mysql
INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
INSTALL_MAKE_FLAGS+= LUA_LIBDIR=${DESTDIR}${PREFIX}/${LUA_CDIR}
.include "../../lang/lua/module.mk"
-.include "../../mk/pgsql.buildlink3.mk"
+.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index