summaryrefslogtreecommitdiff
blob: 2ab780b17c4e4851e4bc2f1f4e2736b645e265cf (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/tirc/tirc-0.54_alpha.ebuild,v 1.1 2004/07/16 11:55:56 swegener Exp $

MY_P=${P/_alpha/a}-patched

DESCRIPTION="Token's IRC client"
HOMEPAGE="http://home.mayn.de/jean-luc/alt/tirc/"
SRC_URI="http://home.mayn.de/jean-luc/alt/tirc/${MY_P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86"
IUSE="debug"

DEPEND="sys-libs/ncurses"

S=${WORKDIR}/${PN}-alpha

src_compile() {
	econf \
		--with-all \
		$(use_enable debug) \
		|| die "econf failed"
	emake depend || die "emake depend failed"
	emake tirc || die "emake tirc failed"
}

src_install() {
	dobin tirc || die "dobin failed"
	doman tirc.1 || die "doman failed"
	dodoc COMMENT Changelog FAQ Notes README doc/* || die "dodoc failed"
}