blob: d969555c2c70f90e06c9030cbe09ac1994a1b06f [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "Network benchmark tool"
2DESCRIPTION = "\
3iperf is a tool for active measurements of the maximum achievable bandwidth \
4on IP networks. It supports tuning of various parameters related to timing, \
5protocols, and buffers. For each test it reports the bandwidth, loss, and \
6other parameters."
7HOMEPAGE = "http://software.es.net/iperf/"
8SECTION = "console/network"
9BUGTRACKER = "https://github.com/esnet/iperf/issues"
10AUTHOR = "ESNET <info@es.net>, Lawrence Berkeley National Laboratory <websupport@lbl.gov>"
Brad Bishop2d39a062019-10-28 08:33:36 -040011LICENSE = "BSD-3-Clause"
Andrew Geisslerd688a012020-09-18 13:36:00 -050012LIC_FILES_CHKSUM = "file://LICENSE;md5=b7fb682e9941a49f1214dcd7441410d7"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080013
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080014SRC_URI = "git://github.com/esnet/iperf.git \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080015 file://0002-Remove-pg-from-profile_CFLAGS.patch \
16 "
17
Andrew Geisslerd688a012020-09-18 13:36:00 -050018SRCREV = "1f8fb13297f3e3e40169ebcd12e171167e394473"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019
20S = "${WORKDIR}/git"
21
22inherit autotools
23
Andrew Geissler7f40b712020-05-15 14:09:53 -050024PACKAGECONFIG ?= "openssl"
25
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080026PACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sctp_h=no,lksctp-tools"
Andrew Geissler7f40b712020-05-15 14:09:53 -050027PACKAGECONFIG[openssl] = "--with-openssl=${RECIPE_SYSROOT}${prefix},--without-openssl,openssl"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080028
29CFLAGS += "-D_GNU_SOURCE"