0
0
Fork 0
haikuports/net-analyzer/netperf/netperf-2.7.0.recipe

62 lines
1.2 KiB
Bash
Raw Permalink Normal View History

SUMMARY="Network performance benchmark including tests for TCP, UDP, and more"
DESCRIPTION="Netperf is a benchmark that can be used to measure the \
performance of many different types of networking. It provides tests for both \
unidirectional throughput, and end-to-end latency. The environments currently \
measureable by netperf include:
- TCP and UDP via BSD Sockets for both IPv4 and IPv6
- DLPI
- Unix Domain Sockets
- SCTP for both IPv4 and IPv6"
2014-06-04 12:45:45 +00:00
HOMEPAGE="http://netperf.org"
COPYRIGHT="1993 Hewlett-Packard Company"
LICENSE="netperf"
2014-06-04 12:45:45 +00:00
REVISION="1"
2021-10-30 15:52:32 +00:00
SOURCE_URI="https://github.com/HewlettPackard/netperf/archive/${portName}-${portVersion}.tar.gz"
2021-11-02 09:54:53 +00:00
CHECKSUM_SHA256="4569bafa4cca3d548eb96a486755af40bd9ceb6ab7c6abd81cc6aa4875007c4e"
2021-10-30 15:52:32 +00:00
PATCHES="${portName}-${portVersion}.patchset"
SOURCE_DIR="${portName}-${portName}-${portVersion}"
2014-06-04 12:45:45 +00:00
2021-10-30 15:52:32 +00:00
ARCHITECTURES="all"
2014-06-04 12:45:45 +00:00
PROVIDES="
netperf = $portVersion
cmd:netperf
cmd:netserver
"
REQUIRES="
haiku
2014-06-04 12:45:45 +00:00
"
2014-06-04 12:45:45 +00:00
BUILD_REQUIRES="
haiku_devel
2014-06-04 12:45:45 +00:00
"
BUILD_PREREQUIRES="
2021-10-30 15:52:32 +00:00
cmd:aclocal
cmd:autoconf
cmd:autoheader
cmd:automake
2014-06-04 12:45:45 +00:00
cmd:awk
2021-10-30 15:52:32 +00:00
cmd:find
2014-06-04 12:45:45 +00:00
cmd:gcc
cmd:make
2021-10-30 15:52:32 +00:00
cmd:makeinfo
2014-06-04 12:45:45 +00:00
"
BUILD()
{
2021-10-30 15:52:32 +00:00
./autogen.sh
2014-06-04 12:45:45 +00:00
runConfigure ./configure
2021-10-30 15:52:32 +00:00
make $jobArgs
2014-06-04 12:45:45 +00:00
}
INSTALL()
{
make install
}
TEST()
{
make check
}