summaryrefslogtreecommitdiff
blob: 28767a44b6f80c29fed4eea6285aab033d254ef0 (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 Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/net-mail/courier/courier-0.41.0.ebuild

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

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE="spell crypt"

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

EXTRA_ECONF="--with-devel"

src_install() {
	make check DESTDIR=${D} || die
	make install DESTDIR=${D} || die
	DESTDIR=${D} make install-configure || die

	sed -i "3i export LANG=en_US" ${D}/usr/bin/cone

}