pkgsrc/devel/lua-fifo/Makefile
2020-07-08 16:29:43 +00:00

30 lines
781 B
Makefile

# $NetBSD: Makefile,v 1.2 2020/07/08 16:29:43 nia Exp $
DISTNAME= lua-fifo-0.2
PKGNAME= ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1}
CATEGORIES= devel lua
MASTER_SITES= ${MASTER_SITE_GITHUB:=daurnimator/}
GITHUB_PROJECT= fifo.lua
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/daurnimator/fifo.lua
COMMENT= FIFO library for Lua
LICENSE= mit
TEST_DEPENDS+= ${LUA_PKGPREFIX}-busted-[0-9]*:../../devel/lua-busted
WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}
USE_LANGUAGES= # none
NO_BUILD= yes
INSTALLATION_DIRS+= ${LUA_LDIR}
do-install:
${INSTALL_DATA} ${WRKSRC}/fifo.lua \
${DESTDIR}${PREFIX}/${LUA_LDIR}/fifo.lua
do-test:
cd ${WRKSRC} && ${PREFIX}/bin/busted${_LUA_DOT_VERSION}
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"