diff options
author | Vadim A. Misbakh-Soloviov <git@mva.name> | 2015-09-30 13:39:45 +0600 |
---|---|---|
committer | Vadim A. Misbakh-Soloviov <git@mva.name> | 2015-09-30 13:39:45 +0600 |
commit | 43b29c34f682cbde48f23c42fd13d334d7bb425c (patch) | |
tree | bcc77aff84dfb5e8659e05a8aec694cb32f6a2f2 /dev-lua/lua-ext/lua-ext-9999.ebuild | |
parent | eclass/lua: added; dev-lua/*: moving to lua eclass (diff) | |
download | lua-43b29c34f682cbde48f23c42fd13d334d7bb425c.tar.gz lua-43b29c34f682cbde48f23c42fd13d334d7bb425c.tar.bz2 lua-43b29c34f682cbde48f23c42fd13d334d7bb425c.zip |
some more work about porting to lua eclass
Signed-off-by: Vadim A. Misbakh-Soloviov <git@mva.name>
Diffstat (limited to 'dev-lua/lua-ext/lua-ext-9999.ebuild')
-rw-r--r-- | dev-lua/lua-ext/lua-ext-9999.ebuild | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/dev-lua/lua-ext/lua-ext-9999.ebuild b/dev-lua/lua-ext/lua-ext-9999.ebuild index d611c0d..2baa38f 100644 --- a/dev-lua/lua-ext/lua-ext-9999.ebuild +++ b/dev-lua/lua-ext/lua-ext-9999.ebuild @@ -4,7 +4,8 @@ EAPI=5 -inherit toolchain-funcs eutils git-r3 +VCS="git-r3" +inherit lua DESCRIPTION="Some useful extensions to Lua classes" HOMEPAGE="https://github.com/thenumbernine/lua-ext" @@ -15,20 +16,11 @@ EGIT_REPO_URI="https://github.com/thenumbernine/ext" LICENSE="MIT" SLOT="0" KEYWORDS="" -IUSE="luajit" +IUSE="" -DEPEND=" - virtual/lua[luajit=] - virtual/pkgconfig -" -RDEPEND=" - ${DEPEND} -" +READMES=( README ) -src_install() { - local lua="lua"; - use luajit && lua="luajit"; - insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})/ext" - doins *.lua - dodoc README +each_lua_install() { + _dolua_insdir="ext" \ + dolua *.lua } |