blob: 428c0a43acefb5ac0f47c9ac8b1ecb7c45bf1a2c (
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
61
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-mail/mutt/mutt-1.2.5-r2.ebuild,v 1.2 2001/05/30 18:24:34 achim Exp $
P=mutt-1.2.5-1
A=mutt-1.2.5i.tar.gz
S=${WORKDIR}/mutt-1.2.5
DESCRIPTION="a small but very powerful text-based mail client"
SRC_URI="ftp://ftp.mutt.org/pub/mutt/${A}"
HOMEPAGE="http://www.mutt.org"
DEPEND="virtual/glibc
nls? ( sys-devel/gettext )
>=sys-libs/ncurses-5.2
slang? ( >=sys-libs/slang-1.4.2 )
ssl? ( >=dev-libs/openssl-0.9.6 )"
RDEPEND="virtual/glibc
>=sys-libs/ncurses-5.2
slang? ( >=sys-libs/slang-1.4.2 )
ssl? ( >=dev-libs/openssl-0.9.6 )"
src_compile() {
local myconf
if [ -z "`use nls`" ] ; then
myconf="--disable-nls"
fi
if [ "`use ssl`" ] ; then
myconf="$myconf --with-ssl"
fi
if [ "`use slang`" ] ; then
myconf="$myconf --with-slang"
fi
try ./configure --prefix=/usr --sysconfdir=/etc/mutt --host=${CHOST} \
--with-regex --enable-pop --enable-imap --enable-nfs-fix \
--with-homespool=Maildir $myconf
try make
}
src_install () {
cd ${S}
try make DESTDIR=${D} install
prepman
dodir /usr/doc/${P}
mv ${D}/usr/doc/mutt/* ${D}/usr/doc/${P}
rm -rf ${D}/usr/doc/mutt
gzip ${D}/usr/doc/${P}/html/*
gzip ${D}/usr/doc/${P}/samples/*
gzip ${D}/usr/doc/${P}/*
insinto /etc/mutt
doins ${FILESDIR}/Muttrc*
}
|