summaryrefslogtreecommitdiff
blob: 9e21e04a676c1bff2630444ede237bd659d2e3d7 (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
36
37
38
39
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/tirc/tirc-1.2.ebuild,v 1.2 2011/05/16 16:38:38 binki Exp $

EAPI=4

DESCRIPTION="Token's IRC client"
HOMEPAGE="http://home.mayn.de/jean-luc/alt/tirc/"
SRC_URI="mirror://debian/pool/main/t/tirc/${PN}_${PV}.orig.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc"
IUSE="debug"

DEPEND="sys-libs/ncurses"
RDEPEND="${DEPEND}"

src_prepare() {
	# Don't call dodoc on a directory, bug #367505.
	rm -rf doc/RCS || die
}

src_configure() {
	econf \
		$(use_enable debug)
}

src_compile() {
	emake depend
	emake tirc
}

src_install() {
	dobin tirc
	doman tirc.1

	dodoc Changelog FAQ Notes README doc/*
}