pkgsrc/databases/lua-sql-mysql/Makefile.common

27 lines
800 B
Text

# $NetBSD: Makefile.common,v 1.4 2018/10/29 14:35:09 jperkin Exp $
#
# used by databases/lua-sql-postgres/Makefile
# used by databases/lua-sql-sqlite/Makefile
# used by databases/lua-sql-sqlite3/Makefile
# TODO: firebird, oci8, odbc
GITHUB_PROJECT= luasql
DISTNAME= luasql-2.3.2
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GITHUB:=keplerproject/}
GITHUB_TAG= v${PKGVERSION_NOREV}
LICENSE= mit
HOMEPAGE= https://keplerproject.github.io/luasql/
USE_TOOLS+= gmake
MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
MAKE_FLAGS+= LUA_LIBDIR=${DESTDIR}${PREFIX}/${LUA_CDIR}
MAKE_FLAGS+= LUA_INC=${BUILDLINK_PREFIX.${LUA_PACKAGE}}/${LUA_INCDIR}
DISTINFO_FILE= ${.CURDIR}/../../databases/lua-sql-mysql/distinfo
PATCHDIR= ${.CURDIR}/../../databases/lua-sql-mysql/patches
.include "../../lang/lua/module.mk"