summaryrefslogtreecommitdiff
blob: a1a6c53d2b669d9b405cc1e1aee4b0b03e73cd47 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/vm-pop3d/vm-pop3d-1.1.6.ebuild,v 1.2 2002/08/14 12:05:25 murphy Exp $

S=${WORKDIR}/${P}
DESCRIPTION="vm-pop3d - vm-pop3d is a POP3 server"
SRC_URI="http://www.ibiblio.org/pub/Linux/system/mail/pop/${P}.tar.gz"
HOMEPAGE="http://www.reedmedia.net/software/virtualmail-pop3d/"

DEPEND="virtual/glibc"
RDEPEND=""


SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc sparc64"

src_compile() {

        use pam || myconf=" --disable-pam "

	econf ${myconf} || die "configure failed"

	emake || die "make failed"

}

src_install () {

	einstall || die "make install failed"

	dodoc AUTHORS CHANGES COPYING FAQ INSTALL README TODO

        exeinto /etc/init.d
        newexe ${FILESDIR}/vm-pop3d.rc3 vm-pop3d
        insinto /etc/conf.d
        newins ${FILESDIR}/vm-pop3d.confd vm-pop3d
}

pkg_postinst() {
	einfo "Done!"
}