Files
haikuports/net-analyzer/iperf/iperf-2.0.9.recipe
2017-11-28 09:02:06 +03:00

51 lines
1022 B
Bash

SUMMARY="Network bandwidth testing tool"
DESCRIPTION="iperf2 is the legacy network bandwidth testing tool that support \
active measurement of bandwidth for protocols such as TCP and UDP and a \
variety of their parameters"
HOMEPAGE="https://sourceforge.net/projects/iperf2"
COPYRIGHT="1999-2007 Board of Trustees of University of Illinois"
LICENSE="UIUC"
REVISION="1"
SOURCE_URI="https://github.com/theunrealgeek/iperf/archive/v${portVersion}.zip"
SOURCE_FILENAME="iperf-${portVersion}.zip"
SOURCE_DIR="iperf-${portVersion}"
CHECKSUM_SHA256="6078ac6b52b543bbd40c4061e2dcd1e12c79cff06e7f67cd7787db9b7dc70e12"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
iperf = $portVersion
cmd:iperf = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:g++
cmd:make
cmd:sed
cmd:grep
cmd:awk
"
BUILD()
{
chmod +x ./configure
echo "Running configue"
runConfigure ./configure
echo "Building iperf"
make $jobArgs
}
INSTALL()
{
echo "Installing iperf"
make install
}