summaryrefslogtreecommitdiff
blob: 3bbe5fb42f7bc1c1dc196b685a5f26c9e901b71a (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
# 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/fetchmail/fetchmail-5.4.4-r1.ebuild,v 1.2 2000/08/16 04:38:16 drobbins Exp $

P=fetchmail-5.4.4
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="fetchmail"
SRC_URI="http://www.tuxedo.org/~esr/fetchmail/"${A}
HOMEPAGE="http://www.tuxedo.org/~esr/fetchmail/"

src_compile() {
    cd ${S}
    export CFLAGS="$CFLAGS -I/usr/include/openssl" \

    ./configure --prefix=/usr --host=${CHOST} \
	--with-ssl --with-catgets --enable-RPM --enable-NTLN \
	--enable-SDPS
    make
}


src_install() {                 
  cd ${S}
  into /usr
  dobin fetchmail
  cp fetchmail.man fetchmail.1
  doman fetchmail.1
  dodoc COPYING FAQ FEATURES MANIFEST NEWS NOTES README* TODO 
  dodoc sample.rcfile
  docinto html
  dodoc *.html
  docinto contrib
  dodoc contrib/*
}