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