summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-02 03:10:13 +0100
committerSam James <sam@gentoo.org>2021-04-03 16:55:04 +0100
commit04b76a975a8b7a23a41095fc34402e0bdf19a925 (patch)
treecd826f36f860716421b87703c6d08b185c3af638 /net-analyzer/nttcp/nttcp-1.47-r3.ebuild
parentnet-analyzer/nmap: drop unused desktop, flag-o-matic (diff)
downloadgentoo-04b76a975a8b7a23a41095fc34402e0bdf19a925.tar.gz
gentoo-04b76a975a8b7a23a41095fc34402e0bdf19a925.tar.bz2
gentoo-04b76a975a8b7a23a41095fc34402e0bdf19a925.zip
net-analyzer/nttcp: EAPI 7, eutils--
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/nttcp/nttcp-1.47-r3.ebuild')
-rw-r--r--net-analyzer/nttcp/nttcp-1.47-r3.ebuild17
1 files 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 f502164771a3..4203113e8853 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 \