summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2004-11-18 10:54:38 +0000
committerAaron Walker <ka0ttic@gentoo.org>2004-11-18 10:54:38 +0000
commitdd617bf32f252d42de3e83562a5ddaffdf7aa13d (patch)
tree7ed12498f877c96b189d077bffd9579e7d3d19a9 /app-benchmarks/siege/siege-2.60.ebuild
parentdigest fix (diff)
downloadgentoo-2-dd617bf32f252d42de3e83562a5ddaffdf7aa13d.tar.gz
gentoo-2-dd617bf32f252d42de3e83562a5ddaffdf7aa13d.tar.bz2
gentoo-2-dd617bf32f252d42de3e83562a5ddaffdf7aa13d.zip
Added patch to fix siegerc and urls.txt access violations instead of einstall for bug 71558; removed 2.59 ebuild.
Diffstat (limited to 'app-benchmarks/siege/siege-2.60.ebuild')
-rw-r--r--app-benchmarks/siege/siege-2.60.ebuild22
1 files changed, 16 insertions, 6 deletions
diff --git a/app-benchmarks/siege/siege-2.60.ebuild b/app-benchmarks/siege/siege-2.60.ebuild
index 8eb6f628fd1d..bc578d22b893 100644
--- a/app-benchmarks/siege/siege-2.60.ebuild
+++ b/app-benchmarks/siege/siege-2.60.ebuild
@@ -1,6 +1,8 @@
# 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.5 2004/10/08 14:39:44 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/siege/siege-2.60.ebuild,v 1.6 2004/11/18 10:54:38 ka0ttic Exp $
+
+inherit eutils
DESCRIPTION="A HTTP regression testing and benchmarking utility"
HOMEPAGE="http://www.joedog.org/siege/"
@@ -15,14 +17,22 @@ DEPEND="ssl? ( >=dev-libs/openssl-0.9.6d )"
RDEPEND="${DEPEND}
dev-lang/perl"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+}
+
src_compile() {
- econf $(use_with ssl) || die
- emake || die
+ einfo "Running autoreconf"
+ autoreconf || die "autoreconf failed"
+ econf $(use_with ssl) || die "econf failed"
+ emake || die "emake failed"
}
src_install() {
- einstall SIEGERC="${S}/siegerc-example" || die
- dodoc AUTHORS ChangeLog INSTALL MACHINES README \
- KNOWNBUGS siegerc-example
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog INSTALL MACHINES README KNOWNBUGS \
+ siegerc-example urls.txt || die "dodoc failed"
use ssl && dodoc README.https
}