blob: fd7669e2f5522259e64f8159f483584eadcacbc1 (
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
31
32
33
34
35
36
37
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
VCS="git-r3"
inherit lua
DESCRIPTION="Standard Lua libraries"
HOMEPAGE="https://github.com/lua-stdlib/lua-stdlib"
SRC_URI=""
EGIT_REPO_URI="https://github.com/lua-stdlib/lua-stdlib"
LICENSE="GPL"
SLOT="0"
KEYWORDS=""
IUSE=""
READMES=( README.md NEWS.md HACKING )
all_lua_prepare() {
if [[ -n ${EVCS_OFFLINE} ]]; then
die "Unfortunately, upstream uses buildsystem which depends on external submodules, so you won't be able to build package in offline mode. Sorry."
fi
./bootstrap --skip-rock-checks
}
each_lua_compile() {
./config.status --file=lib/std.lua
}
each_lua_install() {
dolua lib/std lib/std.lua
}
|