summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-benchmarks/siege/siege-2.61_beta1.ebuild')
-rw-r--r--app-benchmarks/siege/siege-2.61_beta1.ebuild24
1 files changed, 16 insertions, 8 deletions
diff --git a/app-benchmarks/siege/siege-2.61_beta1.ebuild b/app-benchmarks/siege/siege-2.61_beta1.ebuild
index e2a270d93901..05ad85713a98 100644
--- a/app-benchmarks/siege/siege-2.61_beta1.ebuild
+++ b/app-benchmarks/siege/siege-2.61_beta1.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.61_beta1.ebuild,v 1.1 2004/09/24 16:48:23 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/siege/siege-2.61_beta1.ebuild,v 1.2 2004/11/18 10:54:38 ka0ttic Exp $
+
+inherit eutils
MY_P=${P/_beta/b}
S=${WORKDIR}/${MY_P}
@@ -18,16 +20,22 @@ DEPEND="ssl? ( >=dev-libs/openssl-0.9.6d )"
RDEPEND="${DEPEND}
dev-lang/perl"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-2.60-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() {
- emake DESTDIR="${D}" \
- SIEGERC="${S}/siegerc-example" \
- install || 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
}