blob: b9c914d730b16d79f63f5522dd70ef21d6cf2445 (
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
|
# 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.1 2000/12/20 09:45:34 drobbins 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=">=sys-apps/bash-2.04
>=sys-libs/glibc-2.1.3
>=sys-libs/slang-1.4.2
>=dev-libs/openssl-0.9.6"
src_compile() {
cd ${S}
try ./configure --prefix=/usr --sysconfdir=/etc/mutt --host=${CHOST} \
--with-slang --with-regex --with-catgets \
--enable-pop --enable-imap --with-ssl --enable-nfs-fix \
--with-homespool=Maildir
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*
}
|