devel: Add lua-fifo

A Lua library/'class' that implements a FIFO. Objects in the FIFO
can be of any type, including nil.
This commit is contained in:
nia 2020-07-02 14:52:49 +00:00
parent c656830467
commit 429a4dec11
4 changed files with 35 additions and 0 deletions

2
devel/lua-fifo/DESCR Normal file
View file

@ -0,0 +1,2 @@
A Lua library/'class' that implements a FIFO. Objects in the FIFO
can be of any type, including nil.

25
devel/lua-fifo/Makefile Normal file
View file

@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.1 2020/07/02 14:52:49 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
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
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"

2
devel/lua-fifo/PLIST Normal file
View file

@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1 2020/07/02 14:52:49 nia Exp $
${LUA_LDIR}/fifo.lua

6
devel/lua-fifo/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2020/07/02 14:52:49 nia Exp $
SHA1 (lua-fifo-0.2.tar.gz) = 687113bfc9cc7af2fd0f2950ed1a7c53592010de
RMD160 (lua-fifo-0.2.tar.gz) = 05ce9df75d915f6b9622c57296df3e964e3e7d65
SHA512 (lua-fifo-0.2.tar.gz) = db2e0d2117c70ab0daa6e83141b95f198689e6568aab51e8300ca5577c1a517de249b9514ad8a3476239da3d9bceb699726ead913126817c0801f7ec5d419306
Size (lua-fifo-0.2.tar.gz) = 5210 bytes