diff options
| author | Nicolas PARLANT <nicolas.parlant@parhuet.fr> | 2024-12-10 15:26:08 +0000 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2024-12-11 02:09:29 +0000 |
| commit | d778bd77f6e01db844a701c78a8d2a45cd91b7dc (patch) | |
| tree | 672a99c910c9287944ccde232f60d0c9e166b9a4 /dev-lua/fifo/fifo-0.2.ebuild | |
| parent | a060af9b1d90d49bf77e87de0524f340e28cc307 (diff) | |
| download | gentoo-d778bd77f6e01db844a701c78a8d2a45cd91b7dc.tar.gz gentoo-d778bd77f6e01db844a701c78a8d2a45cd91b7dc.tar.bz2 gentoo-d778bd77f6e01db844a701c78a8d2a45cd91b7dc.zip | |
dev-lua/fifo: new package, add 0.2
dep for dev-lua/lua-http
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lua/fifo/fifo-0.2.ebuild')
| -rw-r--r-- | dev-lua/fifo/fifo-0.2.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
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 +} |
