commit: 04b76a975a8b7a23a41095fc34402e0bdf19a925 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Apr 2 02:10:13 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Apr 3 15:55:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04b76a97
net-analyzer/nttcp: EAPI 7, eutils-- Signed-off-by: Sam James <sam <AT> gentoo.org> net-analyzer/nttcp/nttcp-1.47-r3.ebuild | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/net-analyzer/nttcp/nttcp-1.47-r3.ebuild b/net-analyzer/nttcp/nttcp-1.47-r3.ebuild index f502164771a..4203113e885 100644 --- a/net-analyzer/nttcp/nttcp-1.47-r3.ebuild +++ b/net-analyzer/nttcp/nttcp-1.47-r3.ebuild @@ -1,20 +1,21 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils toolchain-funcs +EAPI=7 -DESCRIPTION="tool to test TCP and UDP throughput" +inherit toolchain-funcs + +DESCRIPTION="Tool to test TCP and UDP throughput" HOMEPAGE="http://www.leo.org/~elmar/nttcp/" SRC_URI="http://www.leo.org/~elmar/nttcp/${P}.tar.gz" -LICENSE="public-domain" +LICENSE="public-domain" SLOT="0" KEYWORDS="amd64 ~mips ~ppc x86" -src_prepare() { - epatch "${FILESDIR}"/${P}-format-security.patch -} +PATCHES=( + "${FILESDIR}"/${P}-format-security.patch +) src_compile() { emake \
