xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-benchmark/iperf3/iperf3_3.11.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Network benchmark tool"
2*4882a593SmuzhiyunDESCRIPTION = "\
3*4882a593Smuzhiyuniperf is a tool for active measurements of the maximum achievable bandwidth \
4*4882a593Smuzhiyunon IP networks. It supports tuning of various parameters related to timing, \
5*4882a593Smuzhiyunprotocols, and buffers. For each test it reports the bandwidth, loss, and \
6*4882a593Smuzhiyunother parameters."
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunHOMEPAGE = "http://software.es.net/iperf/"
9*4882a593SmuzhiyunSECTION = "console/network"
10*4882a593SmuzhiyunBUGTRACKER = "https://github.com/esnet/iperf/issues"
11*4882a593SmuzhiyunAUTHOR = "ESNET <info@es.net>, Lawrence Berkeley National Laboratory <websupport@lbl.gov>"
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunLICENSE = "BSD-3-Clause"
14*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=68ae8cfc577a2c8c51bb51e9628e80b7"
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunSRC_URI = "git://github.com/esnet/iperf.git;branch=master;protocol=https \
17*4882a593Smuzhiyun           file://0002-Remove-pg-from-profile_CFLAGS.patch \
18*4882a593Smuzhiyun           file://0001-configure.ac-check-for-CPP-prog.patch \
19*4882a593Smuzhiyun           "
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunSRCREV = "76bd67f6e90e239a7686202d2b1b595159826d24"
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunS = "${WORKDIR}/git"
24*4882a593Smuzhiyun
25*4882a593Smuzhiyuninherit autotools
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunPACKAGECONFIG ?= "openssl"
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunPACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sctp_h=no,lksctp-tools"
30*4882a593SmuzhiyunPACKAGECONFIG[openssl] = "--with-openssl=${RECIPE_SYSROOT}${prefix},--without-openssl,openssl"
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunCFLAGS += "-D_GNU_SOURCE"
33*4882a593Smuzhiyun
34*4882a593SmuzhiyunCVE_PRODUCT = "iperf_project:iperf"
35