summaryrefslogtreecommitdiff
blob: e856d7162fe5cb90d65e41b2eb08085abb25b36d (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit lua

DESCRIPTION="Lua library of modules for common programming tasks"
HOMEPAGE="http://luaforge.net/projects/stdlib/"
SRC_URI="http://luaforge.net/frs/download.php/3584/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc"

DEPEND="dev-lang/lua
	!dev-lua/getopt"
RDEPEND="${DEPEND}
	>=dev-lua/lrexlib-2.2.0"

S="${WORKDIR}/${PN}"

src_compile() {
	:
}

src_install() {
	lua_install_module modules/*.lua

	if use doc; then
		dohtml -r modules/* || die "dohtml failed"
	fi
}