From 43b29c34f682cbde48f23c42fd13d334d7bb425c Mon Sep 17 00:00:00 2001 From: "Vadim A. Misbakh-Soloviov" Date: Wed, 30 Sep 2015 13:39:45 +0600 Subject: some more work about porting to lua eclass Signed-off-by: Vadim A. Misbakh-Soloviov --- dev-lua/lua-ext/lua-ext-9999.ebuild | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) (limited to 'dev-lua/lua-ext/lua-ext-9999.ebuild') 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 } -- cgit v1.2.3-65-gdbad