pkgsrc/databases/lua-sql-mysql/Makefile
kamil 117e0d6759 Import MySQL luasql 2.3.2 as databases/lua-sql-mysql
LuaSQL is a simple interface from Lua to a DBMS. It enables a Lua program to:
  * Connect to ODBC, Oracle, MySQL and PostgreSQL databases;
  * Execute arbitrary SQL statements;
  * Retrieve results in a row-by-row cursor fashion;

This package provides access to MySQL.
2016-10-08 12:53:54 +00:00

16 lines
533 B
Makefile

# $NetBSD: Makefile,v 1.1 2016/10/08 12:53:54 kamil Exp $
.include "Makefile.common"
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/luasql/sql-mysql/}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= MySQL bindings for Lua
BUILD_TARGET= mysql
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
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"