blob: 5423ec41be204badaf3f49d570a36b3a04389774 (
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
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
VCS="git"
GITHUB_A="thenumbernine"
inherit lua
DESCRIPTION="Some useful extensions to Lua classes"
HOMEPAGE="https://github.com/thenumbernine/lua-ext"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="gcmem"
DEPEND=""
RDEPEND="
dev-lua/luafilesystem
gcmem? (
dev-lua/lua-ffi-bindings
dev-lang/luajit
)
"
DOCS=(README)
each_lua_install() {
use gcmem || rm gcmem.lua
mv ext.lua init.lua
_dolua_insdir="ext" \
dolua *.lua
}
|