summaryrefslogtreecommitdiff
blob: cdb9452ff10b77da8fc01f2c14e86908832f5a21 (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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/nikibot/nikibot-0.8.ebuild,v 1.1.1.1 2005/11/30 09:48:54 chriswhite Exp $

DESCRIPTION="An IRC-Bot with lua script interface"
HOMEPAGE="http://sourceforge.net/projects/nikibot/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
IUSE=""

KEYWORDS="~x86"

DEPEND="virtual/libc
	>=dev-lang/lua-5.0"

src_unpack() {
	unpack ${A}

	# Hack around wrong timestamps to avoid running automake
	touch ${S}/src/Makefile.in
}

src_install() {
	make DESTDIR=${D} install || die "make install failed"

	dodoc README test.lua || die "dodoc failed"
	dohtml html/* || die "dohtml failed"
}