summaryrefslogtreecommitdiff
blob: 711f6e93b15349d1ea5d6c3e2dc6560119188556 (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
31
32
33
34
35
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

#LUA_COMPAT="lua51 lua52 luajit2"
VCS="git-r3"
IS_MULTILIB=true
inherit lua

DESCRIPTION="libevent bindings for Lua"
HOMEPAGE="http://luaforge.net/projects/luaevent http://repo.or.cz/w/luaevent.git"
EGIT_REPO_URI="https://github.com/harningt/luaevent"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS=""
IUSE=""

RDEPEND="
	>=dev-libs/libevent-1.4
"
DEPEND="
	${RDEPEND}
"

READMES=( README )

PATCHES=( ${FILESDIR}/gc-anchoring.patch )

each_lua_install() {
	dolua lua/*
	_dolua_insdir="${PN}" \
	dolua core.so
}