62 lines
1.2 KiB
Bash
62 lines
1.2 KiB
Bash
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"
|
|
HOMEPAGE="http://netperf.org"
|
|
COPYRIGHT="1993 Hewlett-Packard Company"
|
|
LICENSE="netperf"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/HewlettPackard/netperf/archive/${portName}-${portVersion}.tar.gz"
|
|
CHECKSUM_SHA256="4569bafa4cca3d548eb96a486755af40bd9ceb6ab7c6abd81cc6aa4875007c4e"
|
|
PATCHES="${portName}-${portVersion}.patchset"
|
|
SOURCE_DIR="${portName}-${portName}-${portVersion}"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
netperf = $portVersion
|
|
cmd:netperf
|
|
cmd:netserver
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:autoheader
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:find
|
|
cmd:gcc
|
|
cmd:make
|
|
cmd:makeinfo
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
./autogen.sh
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|