blob: 5fdc40e22f7349d30bef67287a8b98b4a4333b4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="A bitwise operation lib totally written in Lua."
HOMEPAGE="http://luaforge.net/projects/bit/"
SRC_URI="http://luaforge.net/frs/download.php/2185/${P}.zip"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="dev-lang/lua"
RDEPEND="${DEPEND}
app-arch/unzip"
src_compile() {
:
}
src_install() {
local luaver=
luaver="$(lua -v 2>&1| cut -d' ' -f2)"
luaver="${luaver%.*}"
insinto /usr/share/lua/${luaver}
doins *.lua || die "doins failed"
}
|