summaryrefslogtreecommitdiff
blob: c988ba3c5d6cfdd6d1ac4a83138123a62a5d75cd (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-client/elmo/elmo-1.3.2.ebuild,v 1.1 2004/08/27 13:15:37 citizen428 Exp $
IUSE="crypt nls ssl"

DESCRIPTION="Elmo: console email client"
HOMEPAGE="http://elmo.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"

KEYWORDS="~x86"
SLOT="0"

DEPEND="ssl? ( >=dev-libs/openssl )"
RDEPEND="nls? ( sys-devel/gettext )
	crypt? ( =app-crypt/gpgme-0.4.7 )"


src_compile() {
	local myconf

	use nls \
		|| myconf="--disable-nls"

	use ssl \
		|| mycconf="${myconf} --without-openssl"

	econf ${myconf} || die
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc ABOUT-NLS ADVOCACY AUTHORS BUGS COPYING ChangeLog INSTALL NEWS THANKS TODO doc/*
}