blob: ea9e7e0239a086374e1f019015cb28e0be9f7c91 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="1"
inherit eutils
DESCRIPTION="Fast and easy to use command line email client based on Pine."
HOMEPAGE="http://www.washington.edu/alpine/
http://staff.washington.edu/chappa/alpine/"
SRC_URI="ftp://ftp.cac.washington.edu/${PN}/${P}.tar.bz2
chappa? (
http://dev.gentooexperimental.org/~tommy/distfiles/chappa-${P}.patch.gz )"
# When the patch is not needed anymore inform Tommy[D] so he can
# remove the patch from his home directory.
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+chappa +ipv6 kerberos ldap +nls +mime +ssl tcl +threads"
DEPEND="sys-libs/ncurses
ssl? ( dev-libs/openssl )
ldap? ( net-nds/openldap )
kerberos? ( app-crypt/mit-krb5 )"
RDEPEND="${DEPEND}
app-misc/mime-types"
src_unpack() {
unpack ${P}.tar.bz2
cd "${S}"
epatch "${DISTDIR}/chappa-${P}.patch.gz"
}
src_compile() {
econf \
$( use_with ssl ) \
$( use_with kerberos krb5 ) \
$( use_with ldap ) \
$( use_with mime smime ) \
$( use_with ipv6 ) \
$( use_with tcl ) \
$( use_with threads pthread )
emake || die "Build failed."
}
src_install() {
emake DESTDIR="${D}" install || die "Installation failed"
dodoc README NOTICE || die "dodoc failed."
}
pkg_postinst() {
elog "For additional functionality you may want to"
elog "install some of the programs listed below"
elog " * aspell for spell checking"
elog " * topal for encryption and signing"
}
|