summaryrefslogtreecommitdiff
blob: fdfb324e7c1512a066afb496ab5d10fc104b76c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit lua

DESCRIPTION="Lua bindings to getopt_long"
HOMEPAGE="http://luaforge.net/projects/alt-getopt"
MY_P="lua-${P}"
SRC_URI="mirror://luaforge/${PN}/${PN}/${P}/${MY_P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

DOCS=(README)

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

each_lua_compile() { :; }

each_lua_install() {
	dolua alt_getopt.lua
}

all_lua_install() {
	dobin alt_getopt
}