pkgsrc/databases/lua-sql-sqlite3/Makefile
kamil fa9f4633af Import SQLite 3.x luasql 2.3.2 as databases/lua-sql-sqlite3
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 SQLite 3.x.
2016-10-08 12:58:22 +00:00

16 lines
558 B
Makefile

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