dev-lua/basexx: new package, add 0.4.1

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
This commit is contained in:
Nicolas PARLANT
2024-12-02 13:46:28 +00:00
parent 26f01d66fa
commit e484a0b5be
3 changed files with 45 additions and 0 deletions

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

@@ -0,0 +1 @@
DIST basexx-0.4.1.tar.gz 8100 BLAKE2B 9a3e09eb4ddc7c9158096f50d52735711ee63618ada0175af8aac4ba906e95cbf3fe2750f3d0fff821e34b71b4a414f39a13313e9aac0960fc4f06d24c5e0422 SHA512 b52ac9573196129e5af3f6d4fdc69b26d77ed3c114cf95c3dc46aa58e5f288a3212a91e8ee48257609607a71088c24205ca79c5512f077a6e9cef6ad7f136ba0

View File

@@ -0,0 +1,33 @@
# 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
DESCRIPTION="A base2, base16, base32, base64 and base85 library for Lua"
HOMEPAGE="https://github.com/aiq/basexx/"
SRC_URI="https://github.com/aiq/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
REQUIRED_USE="${LUA_REQUIRED_USE}"
DEPEND="${LUA_DEPS}"
RDEPEND="${DEPEND}"
lua_enable_tests busted test
lua_src_install() {
insinto $(lua_get_lmod_dir)
doins lib/${PN}.lua
}
src_install() {
lua_foreach_impl lua_src_install
einstalldocs
}

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">aiq/basexx</remote-id>
</upstream>
</pkgmetadata>