diff options
Diffstat (limited to 'dev-lua/fifo')
-rw-r--r-- | dev-lua/fifo/Manifest | 3 | ||||
-rw-r--r-- | dev-lua/fifo/fifo-0.2.ebuild | 39 | ||||
-rw-r--r-- | dev-lua/fifo/metadata.xml | 15 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-lua/fifo/Manifest b/dev-lua/fifo/Manifest new file mode 100644 index 000000000000..2c87cf7324a0 --- /dev/null +++ b/dev-lua/fifo/Manifest @@ -0,0 +1,3 @@ +DIST fifo-0.2.tar.gz 5210 BLAKE2B 08d4df04b49d2edddddb966320baf751b873a1e833af9da83375e02e36e55f40a544de1fc287f994692bfcfd1494574908deb5f5a6a4adea309639174d6e246b SHA512 db2e0d2117c70ab0daa6e83141b95f198689e6568aab51e8300ca5577c1a517de249b9514ad8a3476239da3d9bceb699726ead913126817c0801f7ec5d419306 +EBUILD fifo-0.2.ebuild 721 BLAKE2B cb1ed8202c1f2605b85d848ed1c30df4f96c44130df15b85f2ba42248f906dc27c905b0233c1d71ae71e9bd21400ad1e45863b528e02161b04750dca341eaa11 SHA512 8067c21de179401985199dc68c5a3ff62a3886f371c60c25f8fd8b4512a6330b219b77877291d019d0d9554d49e1bfac5f79037ae0dd73081cd763ea13e842e5 +MISC metadata.xml 476 BLAKE2B abf93fdd51ae9aeabddf074f595b8963df59ace164312cbfe213112f1f7fe1ec5f734031a00769ab5583247fcdcdc4859cb4541730a6e9932680ac37a15587be SHA512 73a3082abe52c65b7a415d594e166bf1c0639f6c43756f96892149487c1f85ce96faaf5e8960df79bc28453284009914640a5fdff3852183f1b16963282b0a70 diff --git a/dev-lua/fifo/fifo-0.2.ebuild b/dev-lua/fifo/fifo-0.2.ebuild new file mode 100644 index 000000000000..630f5882c32a --- /dev/null +++ b/dev-lua/fifo/fifo-0.2.ebuild @@ -0,0 +1,39 @@ +# 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 + local DOCS=( README.md LICENSE doc/index.md ) + einstalldocs +} diff --git a/dev-lua/fifo/metadata.xml b/dev-lua/fifo/metadata.xml new file mode 100644 index 000000000000..66c949b22e2a --- /dev/null +++ b/dev-lua/fifo/metadata.xml @@ -0,0 +1,15 @@ +<?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> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">daurnimator/fifo.lua</remote-id> + </upstream> +</pkgmetadata> |