dev-lua/alt-getopt - 0.8.0 (dm9pZCAq)

Search

Package Information

Description:
Lua bindings to getopt_long
Homepage:
https://github.com/cheusov/lua-alt-getopt
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.8.0 8 amd64 arm ppc x86 ~amd64-linux ~x86-linux 0
View Raw Ebuild
# Copyright 2021-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="lua-${PN}"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="Lua bindings to getopt_long"
HOMEPAGE="https://github.com/cheusov/lua-alt-getopt"
SRC_URI="https://github.com/cheusov/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"

S="${WORKDIR}/${MY_P}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm ppc x86 ~amd64-linux ~x86-linux"

REQUIRED_USE="${LUA_REQUIRED_USE}"

RDEPEND="${LUA_DEPS}"
DEPEND="${RDEPEND}"

DOCS=( README )

LUA_S="${MY_P}"

src_compile() { :; }

lua_src_install() {
	insinto "$(lua_get_lmod_dir)"
	doins "${PN/-/_}.lua"
}

src_install() {
	einstalldocs

	lua_foreach_impl lua_src_install
}

Dependencies

DEPEND

${LUA_DEPS}

RDEPEND

${LUA_DEPS}

Manifest for 0.8.0

Type File Size Source URLs
DIST lua-alt-getopt-0.8.0.tar.gz 4592 bytes https://github.com/cheusov/lua-alt-getopt/archive/0.8.0.tar.gz