summaryrefslogtreecommitdiff
blob: 55890fa779af04f44057d27c2c0f6f10f693f42c (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-client/cone/cone-0.79.ebuild,v 1.5 2010/10/15 22:04:48 ranger Exp $

EAPI="2"

inherit eutils

DESCRIPTION="CONE: COnsole News reader and Emailer"
HOMEPAGE="http://www.courier-mta.org/cone/"
SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ~sparc x86"
IUSE="crypt fam spell"

RDEPEND=">=dev-libs/openssl-0.9.6
	dev-libs/libxml2
	fam? ( virtual/fam )
	crypt? ( >=app-crypt/gnupg-1.0.4 )
	spell? ( virtual/aspell-dict )"
DEPEND="${RDEPEND}
	dev-lang/perl"

src_prepare() {
	epatch "${FILESDIR}"/cone-0.79-gcc45.patch
}

src_install() {
	emake install DESTDIR="${D}" || die
	DESTDIR="${D}" emake install-configure || die

# Removed for bug 194332: Don't know why it was ever added
#	dosed "3i export LANG=en_US" /usr/bin/cone
}