summaryrefslogtreecommitdiff
blob: 11275640267d573f4c45f1ce2370c91e13ad3bd0 (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 Prakash Shetty (Crux) <ps@gnuos.org>
# $Header: /var/cvsroot/gentoo-x86/net-mail/teapop/teapop-0.3.1.ebuild,v 1.3 2001/08/30 17:31:35 pm Exp $


A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="POP Server with support for Maildir,Virtual Domains,Multiple IP's etc"
SRC_URI="ftp://ftp.toontown.org/pub/teapop/${A}"
HOMEPAGE="http://www.toontown.org/teapop/"

DEPEND=">=sys-libs/glibc-2.1.3"

src_compile() {

    cd ${S}
    try ./configure --prefix=/usr --enable-lock=flock --disable-apop\
    --enable-homespool=Maildir
    try make

}

src_install () {

    cd ${S}
    try make DESTDIR=${D} install
    dodoc doc/CREDITS doc/ChangeLog doc/INSTALL 
}

pkg_config() {
	echo "This config script will add tpop lines to your /etc/xinetd.conf."
	echo "Press control-C to abort, hit Enter to continue."
	echo
	read
	cat ${FILESDIR}/tpop.xinetd >> ${ROOT}etc/xinetd.conf
	echo "Modifications applied."
}