Lines 1-6
Link Here
|
1 |
# Copyright 1999-2010 Gentoo Foundation |
1 |
# Copyright 1999-2010 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/net-misc/iperf/iperf-2.0.4.ebuild,v 1.11 2010/01/07 15:48:39 fauli Exp $ |
3 |
# $Header: $ |
|
|
4 |
|
5 |
EAPI=2 |
4 |
|
6 |
|
5 |
DESCRIPTION="tool to measure IP bandwidth using UDP or TCP" |
7 |
DESCRIPTION="tool to measure IP bandwidth using UDP or TCP" |
6 |
HOMEPAGE="http://iperf.sourceforge.net/" |
8 |
HOMEPAGE="http://iperf.sourceforge.net/" |
Lines 8-29
Link Here
|
8 |
|
10 |
|
9 |
LICENSE="as-is" |
11 |
LICENSE="as-is" |
10 |
SLOT="0" |
12 |
SLOT="0" |
11 |
KEYWORDS="amd64 hppa ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint" |
13 |
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint" |
12 |
IUSE="ipv6 threads debug" |
14 |
IUSE="ipv6 threads debug" |
13 |
|
15 |
|
14 |
DEPEND="" |
16 |
DEPEND="" |
15 |
RDEPEND="" |
17 |
RDEPEND="" |
16 |
|
18 |
|
17 |
src_compile() { |
19 |
src_configure() { |
18 |
econf \ |
20 |
econf \ |
19 |
$(use_enable ipv6) \ |
21 |
$(use_enable ipv6) \ |
20 |
$(use_enable threads) \ |
22 |
$(use_enable threads) \ |
21 |
$(use_enable debug debuginfo) |
23 |
$(use_enable debug debuginfo) |
22 |
emake || die "emake failed" |
|
|
23 |
} |
24 |
} |
24 |
|
25 |
|
25 |
src_install() { |
26 |
src_install() { |
26 |
make DESTDIR="${D}" install || die "make install failed" |
27 |
emake DESTDIR="${D}" install || die "emake install failed" |
27 |
dodoc INSTALL README |
28 |
dodoc INSTALL README |
28 |
dohtml doc/* |
29 |
dohtml doc/* |
29 |
newinitd "${FILESDIR}"/${PN}.initd ${PN} || die |
30 |
newinitd "${FILESDIR}"/${PN}.initd ${PN} || die |