dev-lua/fifo: new package, add 0.2

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
This commit is contained in:
Nicolas PARLANT
2024-12-02 13:46:58 +00:00
parent 9f6cb43b56
commit 37e6ad58b0
3 changed files with 50 additions and 0 deletions

1
dev-lua/fifo/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST fifo-0.2.tar.gz 5210 BLAKE2B 08d4df04b49d2edddddb966320baf751b873a1e833af9da83375e02e36e55f40a544de1fc287f994692bfcfd1494574908deb5f5a6a4adea309639174d6e246b SHA512 db2e0d2117c70ab0daa6e83141b95f198689e6568aab51e8300ca5577c1a517de249b9514ad8a3476239da3d9bceb699726ead913126817c0801f7ec5d419306

View File

@@ -0,0 +1,38 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LUA_COMPAT=( lua5-{1..4} luajit )
inherit lua
MY_PN="${PN}.lua"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Fifo library for Lua"
HOMEPAGE="https://github.com/daurnimator/fifo.lua"
SRC_URI="https://github.com/daurnimator/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
REQUIRED_USE="${LUA_REQUIRED_USE}"
DEPEND="${LUA_DEPS}"
RDEPEND="${DEPEND}"
lua_enable_tests busted
lua_src_install() {
insinto $(lua_get_lmod_dir)
doins ${PN}.lua
}
src_install() {
lua_foreach_impl lua_src_install
einstalldocs
}

11
dev-lua/fifo/metadata.xml Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>nicolas.parlant@parhuet.fr</email>
<name>Nicolas PARLANT</name>
</maintainer>
<upstream>
<remote-id type="github">daurnimator/fifo.lua</remote-id>
</upstream>
</pkgmetadata>