Skip to content

Commit

Permalink
dev-lua/LuaBitOp: support Prefix and depend on any slot of lua.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.2
  • Loading branch information
heroxbd committed Dec 3, 2016
1 parent d818f07 commit 4e3c3b4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dev-lua/LuaBitOp/LuaBitOp-1.0.2-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

Expand All @@ -14,7 +14,7 @@ SLOT="0"
KEYWORDS="amd64 ~arm ~hppa ~mips ppc ppc64 sparc x86"
IUSE=""

RDEPEND=">=dev-lang/lua-5.1.5-r2[${MULTILIB_USEDEP}]"
RDEPEND=">=dev-lang/lua-5.1.5-r2:*[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"

Expand All @@ -34,7 +34,8 @@ multilib_src_test() {

multilib_src_install()
{
exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"
local instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"
exeinto "${instdir#${EPREFIX}}"
doexe bit.so
}

Expand Down

0 comments on commit 4e3c3b4

Please sign in to comment.