Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | DESCRIPTION = "Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning of various parameters and UDP characteristics" |
| 2 | HOMEPAGE = "https://sourceforge.net/projects/iperf2/" |
| 3 | SECTION = "console/network" |
| 4 | LICENSE = "BSD-2-Clause" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=e136a7b2560d80bcbf0d9b3e1356ecff" |
| 6 | |
Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 7 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/iperf-${PV}.tar.gz \ |
| 8 | file://0001-Detect-bool-definition-considering-stdbool.h-being-p.patch \ |
| 9 | " |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 10 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 11 | SRC_URI[md5sum] = "31ea1c6d5cbf80b16ff3abe4288dad5e" |
| 12 | SRC_URI[sha256sum] = "c88adec966096a81136dda91b4bd19c27aae06df4d45a7f547a8e50d723778ad" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 13 | |
| 14 | S = "${WORKDIR}/iperf-${PV}" |
| 15 | |
| 16 | inherit autotools pkgconfig |
| 17 | |
| 18 | EXTRA_OECONF = "--exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}" |
| 19 | |
| 20 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" |
| 21 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |