Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 440140
Collapse All | Expand All

(-)httperf-0.9.0-r1.ebuild (-15 / +12 lines)
Lines 2-10 Link Here
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.9.0-r1.ebuild,v 1.4 2012/03/19 19:06:37 armin76 Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/httperf/httperf-0.9.0-r1.ebuild,v 1.4 2012/03/19 19:06:37 armin76 Exp $
4
4
5
EAPI=2
5
EAPI=4
6
6
7
inherit eutils autotools toolchain-funcs
7
AUTOTOOLS_AUTORECONF=1
8
AUTOTOOLS_IN_SOURCE_BUILD=1
9
10
inherit autotools-utils toolchain-funcs
8
11
9
DESCRIPTION="A tool from HP for measuring web server performance."
12
DESCRIPTION="A tool from HP for measuring web server performance."
10
HOMEPAGE="http://code.google.com/p/httperf/"
13
HOMEPAGE="http://code.google.com/p/httperf/"
Lines 12-36 Link Here
12
15
13
LICENSE="GPL-2"
16
LICENSE="GPL-2"
14
SLOT="0"
17
SLOT="0"
15
KEYWORDS="amd64 ~mips x86"
18
KEYWORDS="~amd64 ~amd64-linux ~mips ~x64-macos ~x86"
16
IUSE="debug"
19
IUSE="debug"
17
20
18
DEPEND="dev-libs/openssl"
21
DEPEND="dev-libs/openssl"
19
RDEPEND="dev-libs/openssl"
22
RDEPEND="dev-libs/openssl"
20
23
21
src_prepare() {
24
DOCS=( AUTHORS ChangeLog NEWS README TODO )
22
	eautoconf || die "autoconf failed"
25
23
}
24
src_configure() {
26
src_configure() {
25
	econf --bindir=/usr/bin \
27
	econf --bindir="${EPREFIX}"/usr/bin \
26
		$(use_enable debug) \
28
		$(use_enable debug)
27
		|| die "econf failed"
28
}
29
src_compile() {
30
	emake CC=$(tc-getCC) -j1 || die "emake failed"
31
}
29
}
32
30
33
src_install() {
31
src_compile() {
34
	make DESTDIR="${D}" install || die "make install failed"
32
	emake CC="$(tc-getCC)" -j1
35
	dodoc AUTHORS ChangeLog NEWS README TODO
36
}
33
}

Return to bug 440140