|
|
# Copyright 1999-2006 Gentoo Foundation | # Copyright 1999-2006 Gentoo Foundation |
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/httperf/httperf-0.8.ebuild,v 1.6 2006/12/06 19:59:13 eroyf Exp $ |
# $Header: $ |
| |
inherit eutils |
WANT_AUTOCONF="2.1" |
|
|
|
inherit eutils autotools toolchain-funcs |
| |
DESCRIPTION="A tool from HP for measuring web server performance." | DESCRIPTION="A tool from HP for measuring web server performance." |
HOMEPAGE="http://www.hpl.hp.com/research/linux/httperf/index.php" | HOMEPAGE="http://www.hpl.hp.com/research/linux/httperf/index.php" |
|
|
DEPEND="" | DEPEND="" |
RDEPEND="" | RDEPEND="" |
| |
MAKEOPTS="${MAKEOPTS} -j1" |
|
|
|
src_unpack() { | src_unpack() { |
unpack ${A} | unpack ${A} |
cd ${S} | cd ${S} |
|
|
| |
src_compile() { | src_compile() { |
einfo "Regenerating configure" | einfo "Regenerating configure" |
autoconf || die "autoconf failed" |
eautoconf || die "autoconf failed" |
| |
econf --bindir=/usr/bin \ | econf --bindir=/usr/bin \ |
$(use_enable debug) \ | $(use_enable debug) \ |
$(use_enable ssl) \ | $(use_enable ssl) \ |
|| die "econf failed" | || die "econf failed" |
| |
emake || die "emake failed" |
emake CC=$(tc-getCC) -j1 || die "emake failed" |
} | } |
| |
src_install() { | src_install() { |