diff options
author | David Seifert <soap@gentoo.org> | 2022-12-06 22:25:35 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-12-06 22:25:35 +0100 |
commit | d940fdc7e831600c4241205aa1f0f188443e2eae (patch) | |
tree | 49f16c1913e38d36aa3ef6ae98365f75d061c471 /net-analyzer/netpipe/netpipe-3.7.2-r1.ebuild | |
parent | net-analyzer/ndoutils: update EAPI 6 -> 8 (diff) | |
download | gentoo-d940fdc7e831600c4241205aa1f0f188443e2eae.tar.gz gentoo-d940fdc7e831600c4241205aa1f0f188443e2eae.tar.bz2 gentoo-d940fdc7e831600c4241205aa1f0f188443e2eae.zip |
net-analyzer/netpipe: update EAPI 6 -> 8
Closes: https://bugs.gentoo.org/724952
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-analyzer/netpipe/netpipe-3.7.2-r1.ebuild')
-rw-r--r-- | net-analyzer/netpipe/netpipe-3.7.2-r1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-analyzer/netpipe/netpipe-3.7.2-r1.ebuild b/net-analyzer/netpipe/netpipe-3.7.2-r1.ebuild new file mode 100644 index 000000000000..1cda1d25fa4a --- /dev/null +++ b/net-analyzer/netpipe/netpipe-3.7.2-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_PN="NetPIPE" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="network protocol independent performance evaluator" +HOMEPAGE="http://bitspjoule.org/netpipe/" +SRC_URI="http://bitspjoule.org/netpipe/code/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-1+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="ipv6" + +DOCS=( + bin/feplot + bin/geplot + bin/nplaunch + dox/README + dox/netpipe_paper.ps + dox/np_cluster2002.pdf + dox/np_euro.pdf +) + +PATCHES=( "${FILESDIR}"/${P}-fix-makefile.patch ) + +src_configure() { + tc-export CC +} + +src_compile() { + emake memcpy tcp $(usev ipv6 tcp6) +} + +src_install() { + dobin NPmemcpy NPtcp $(usev ipv6 NPtcp6) + doman dox/netpipe.1 + einstalldocs +} |