summaryrefslogtreecommitdiff
blob: 19aa610c4f47100fd72b46238cd538d5c03e6fcf (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
# 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-r1.ebuild,v 1.1 2000/08/08 20:58:38 achim Exp $

P=mutt-1.2.5-1
A=mutt-1.2.5i.tar.gz
S=${WORKDIR}/mutt-1.2.5
CATEGORY="net-mail"
DESCRIPTION="a small but very powerful text-based mail client"
SRC_URI="ftp://ftp.mutt.org/pub/mutt/${A}"
HOMEPAGE="http://www.mutt.org"


src_compile() {

    cd ${S}
    ./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
    make

}

src_install () {

    cd ${S}
    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}/*
}