summaryrefslogtreecommitdiff
blob: 3e46ca878581741b7aa15e0564c4677188a5f85a (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/postal/postal-0.62.ebuild,v 1.4 2005/03/17 19:39:05 hansmi Exp $

DESCRIPTION="SMTP and POP mailserver benchmark - the mad postman. Supports SSL, randomized user accounts and more."
HOMEPAGE="http://www.coker.com.au/postal/"
SRC_URI="http://www.coker.com.au/postal/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~sparc ppc ~hppa"
IUSE="ssl"
DEPEND="ssl? ( >=dev-libs/openssl-0.9.6b )"

src_compile() {
	myconf=

	if use !ssl; then
		# broken configure, use_enable doesn't work right
		myconf="${myconf} --disable-ssl"
	fi

	econf ${myconf} || die
	emake || die
}

src_install() {
	dosbin postal postal-list rabid
	doman postal-list.8 postal.8 rabid.8
}