summaryrefslogtreecommitdiff
blob: bfb81a203d430f3b359b0a4dc5786d9cde60d2da (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/siege/siege-2.60.ebuild,v 1.4 2004/09/20 10:55:39 ka0ttic Exp $

DESCRIPTION="A HTTP regression testing and benchmarking utility"
HOMEPAGE="http://www.joedog.org/siege/"
SRC_URI="ftp://sid.joedog.org/pub/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="x86 ppc"
SLOT="0"
IUSE="ssl"

DEPEND="ssl? ( >=dev-libs/openssl-0.9.6d )"
RDEPEND="${DEPEND}
	dev-lang/perl"

src_compile() {
	econf $(use_with ssl) || die
	emake || die
}

src_install() {
	emake DESTDIR="${D}" \
		SIEGERC="${S}/siegerc-example" \
		install || die
	dodoc AUTHORS ChangeLog INSTALL MACHINES README \
		KNOWNBUGS siegerc-example
	use ssl && dodoc README.https
}