blob: 933fb5405a8c94040a47d83a29789596811131f5 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit lua
DESCRIPTION="A unit testing framework for Lua"
HOMEPAGE="http://www.mroth.net/lunit/"
SRC_URI="http://www.mroth.net/${PN}/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=">=dev-lang/lua-5.1"
RDEPEND="${DEPEND}"
src_compile() {
:
}
src_install() {
lua_install_module lunit.lua lunit-console.lua
dobin lunit || die "dobin failed"
dodoc ANNOUNCE CHANGES DOCUMENTATION README* example.lua || die "dodoc failed"
}
src_test() {
./lunit lunit-tests.lua || die "tests failed"
}
|