blob: f346f31604988708684fce9a45aa2de9e7917533 (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/siege/siege-2.58.ebuild,v 1.3 2004/04/25 21:47:12 agriffis Exp $
DESCRIPTION="An http regression testing and benchmarking utility"
SRC_URI="ftp://sid.joedog.org/pub/siege/${P}.tar.gz"
HOMEPAGE="http://www.joedog.org/siege/"
SLOT="0"
KEYWORDS="x86 ~ppc"
LICENSE="GPL-2"
IUSE="ssl"
DEPEND="ssl? ( >=dev-libs/openssl-0.9.6d )"
src_compile() {
has_version '=dev-libs/openssl-0.9.7*' \
&& sed -i -e "s:^# include <openssl/e_os.h>::" src/ssl.h
local myconf
use ssl && myconf="--with-ssl" || myconf="--with-ssl=off"
econf ${myconf} || die "econf failed"
emake || die
}
src_install() {
# makefile tries to install into $HOME by default... bad monkey!
dodir /usr/share/doc/${P}
einstall SIEGERC="${D}/usr/share/doc/${P}/siegerc-example"
# all non-html docs must be gzip'd
gzip ${D}/usr/share/doc/${P}/siegerc-example
dodoc AUTHORS COPYING INSTALL KNOWNBUGS NEWS MACHINES README
}
|