Lines 1-8
Link Here
|
1 |
# Copyright 1999-2006 Gentoo Foundation |
1 |
# Copyright 1999-2006 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/httperf/httperf-0.8.ebuild,v 1.6 2006/12/06 19:59:13 eroyf Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
inherit eutils |
5 |
WANT_AUTOCONF="2.1" |
|
|
6 |
|
7 |
inherit eutils autotools toolchain-funcs |
6 |
|
8 |
|
7 |
DESCRIPTION="A tool from HP for measuring web server performance." |
9 |
DESCRIPTION="A tool from HP for measuring web server performance." |
8 |
HOMEPAGE="http://www.hpl.hp.com/research/linux/httperf/index.php" |
10 |
HOMEPAGE="http://www.hpl.hp.com/research/linux/httperf/index.php" |
Lines 16-23
Link Here
|
16 |
DEPEND="" |
18 |
DEPEND="" |
17 |
RDEPEND="" |
19 |
RDEPEND="" |
18 |
|
20 |
|
19 |
MAKEOPTS="${MAKEOPTS} -j1" |
|
|
20 |
|
21 |
src_unpack() { |
21 |
src_unpack() { |
22 |
unpack ${A} |
22 |
unpack ${A} |
23 |
cd ${S} |
23 |
cd ${S} |
Lines 27-40
Link Here
|
27 |
|
27 |
|
28 |
src_compile() { |
28 |
src_compile() { |
29 |
einfo "Regenerating configure" |
29 |
einfo "Regenerating configure" |
30 |
autoconf || die "autoconf failed" |
30 |
eautoconf || die "autoconf failed" |
31 |
|
31 |
|
32 |
econf --bindir=/usr/bin \ |
32 |
econf --bindir=/usr/bin \ |
33 |
$(use_enable debug) \ |
33 |
$(use_enable debug) \ |
34 |
$(use_enable ssl) \ |
34 |
$(use_enable ssl) \ |
35 |
|| die "econf failed" |
35 |
|| die "econf failed" |
36 |
|
36 |
|
37 |
emake || die "emake failed" |
37 |
emake CC=$(tc-getCC) -j1 || die "emake failed" |
38 |
} |
38 |
} |
39 |
|
39 |
|
40 |
src_install() { |
40 |
src_install() { |