Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "Network benchmark tool" |
| 2 | DESCRIPTION = "\ |
| 3 | iperf is a tool for active measurements of the maximum achievable bandwidth \ |
| 4 | on IP networks. It supports tuning of various parameters related to timing, \ |
| 5 | protocols, and buffers. For each test it reports the bandwidth, loss, and \ |
| 6 | other parameters." |
| 7 | HOMEPAGE = "http://software.es.net/iperf/" |
| 8 | SECTION = "console/network" |
| 9 | BUGTRACKER = "https://github.com/esnet/iperf/issues" |
| 10 | AUTHOR = "ESNET <info@es.net>, Lawrence Berkeley National Laboratory <websupport@lbl.gov>" |
| 11 | LICENSE = "BSD" |
| 12 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a9a036136b748453e839c0eb8906ef2e" |
| 13 | |
| 14 | DEPENDS = "openssl" |
| 15 | |
| 16 | SRC_URI = "git://github.com/esnet/iperf.git \ |
| 17 | file://automake-foreign.patch \ |
| 18 | file://0002-Remove-pg-from-profile_CFLAGS.patch \ |
| 19 | " |
| 20 | |
| 21 | SRCREV = "88f3ad87f38762081a6d7127890ff5c3a052b06a" |
| 22 | |
| 23 | S = "${WORKDIR}/git" |
| 24 | |
| 25 | inherit autotools |
| 26 | |
| 27 | PACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sctp_h=no,lksctp-tools" |
| 28 | |
| 29 | CFLAGS += "-D_GNU_SOURCE" |
| 30 | |
| 31 | EXTRA_OECONF = "--with-openssl=${RECIPE_SYSROOT}${prefix}" |
| 32 | |
| 33 | BBCLASSEXTEND = "native" |