1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Tool to measure IP bandwidth using UDP or TCP"
7 HOMEPAGE="http://iperf2.sourceforge.net/"
8 SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.gz"
12 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
13 IUSE="ipv6 threads debug"
19 $(use_enable debug debuginfo) \
27 newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
28 newconfd "${FILESDIR}"/${PN}.confd ${PN}