Diff LuaBitOp-1.0.1-r1 with a LuaBitOp-1.0.2

/usr/portage/dev-lua/LuaBitOp/LuaBitOp-1.0.2.ebuild 2017-02-28 22:50:00.000000000 +0300
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI="5"
5
inherit eutils multilib
5
inherit toolchain-funcs
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 ~x86"
13
KEYWORDS="amd64 ~arm hppa ~mips x86"
14 14
IUSE=""
15 15

  
16
DEPEND="=dev-lang/lua-5.1*"
17
RDEPEND="${DEPEND}"
18

  
19
src_prepare()
20
{
21
	sed -i \
22
		-e '/^CFLAGS.*=/s/=/ +=/' \
23
		-e '/^CFLAGS/s/-O2 -fomit-frame-pointer //' \
24
		Makefile || die "sed failed"
25
	epatch "${FILESDIR}/${PN}-ldflags.patch"
26
}
16
RDEPEND="dev-lang/lua"
17
DEPEND="${RDEPEND}
18
	virtual/pkgconfig"
27 19

  
28 20
src_compile()
29 21
{
30
	emake CC="$(tc-getCC)"
31
}
32

  
33
src_test()
34
{
35
	make test
22
	emake CC="$(tc-getCC)" INCLUDES= CCOPT=
36 23
}
37 24

  
38 25
src_install()
39 26
{
40
	exeinto /usr/$(get_libdir)/lua/5.1
41
doexe bit.so
27
	exeinto "$(pkg-config --variable INSTALL_CMOD lua)"
28
	doexe bit.so
29

  
30
	dodoc README
42 31
	dohtml -r doc/*
43 32
}
Thank you!