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 | |
| 7 | SRC_URI = " ${SOURCEFORGE_MIRROR}/iperf2/iperf-${PV}.tar.gz" |
| 8 | |
| 9 | SRC_URI[md5sum] = "097cf0754bc1afa165975c06a91e6906" |
| 10 | SRC_URI[sha256sum] = "7fe4348dcca313b74e0aa9c34a8ccd713b84a5615b8578f4aa94cedce9891ef2" |
| 11 | |
| 12 | S = "${WORKDIR}/iperf-${PV}" |
| 13 | |
| 14 | inherit autotools pkgconfig |
| 15 | |
| 16 | EXTRA_OECONF = "--exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}" |
| 17 | |
| 18 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" |
| 19 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |