Diff LuaBitOp-1.0.2 with a LuaBitOp-1.0.2-r1

/usr/portage/dev-lua/LuaBitOp/LuaBitOp-1.0.2-r1.ebuild 2018-12-29 15:39:00.000000000 +0300
1
# Copyright 1999-2014 Gentoo Foundation
1
# Copyright 1999-2018 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI="5"
5
inherit toolchain-funcs
5
inherit toolchain-funcs multilib-minimal
6 6

  
7 7
DESCRIPTION="Bit Operations Library for the Lua Programming Language"
8 8
HOMEPAGE="http://bitop.luajit.org"
......
10 10

  
11 11
LICENSE="MIT"
12 12
SLOT="0"
13
KEYWORDS="amd64 ~arm hppa ~mips x86"
13
KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 sparc x86"
14 14
IUSE=""
15 15

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

  
20
src_compile()
20
src_prepare() {
21
	multilib_copy_sources
22
}
23

  
24
multilib_src_compile()
21 25
{
22 26
	emake CC="$(tc-getCC)" INCLUDES= CCOPT=
23 27
}
24 28

  
25
src_install()
29
multilib_src_test() {
30
	# tests use native lua interpreter
31
	multilib_is_native_abi && default
32
}
33

  
34
multilib_src_install()
26 35
{
27
	exeinto "$(pkg-config --variable INSTALL_CMOD lua)"
36
	local instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"
37
	exeinto "${instdir#${EPREFIX}}"
28 38
	doexe bit.so
39
}
29 40

  
41
multilib_src_install_all() {
30 42
	dodoc README
31
	dohtml -r doc/*
43
	dohtml -r doc/.
32 44
}
Thank you!