chinook-compat: add new toolchain options and stick to util-linux
[openembedded.git] / recipes / iperf / iperf.inc
blobf409c172401386c346daf85c1dfbea6a3620d0f2
1 SECTION = "console/network"
2 DESCRIPTION = "Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning of various parameters and UDP characteristics"
3 HOMEPAGE = "http://dast.nlanr.net/Projects/Iperf/"
4 LICENSE = "BSD"
5 PR = "r0"
7 inherit autotools
9 S="${WORKDIR}/iperf-${PV}"
11 # --disable-threads is needed on epia/x86 with uclibc
12 do_configure() {
13         export ac_cv_func_malloc_0_nonnull=yes
14         gnu-configize
15         oe_runconf --exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}  --disable-threads
18 do_compile() {
19         cd ${WORKDIR}/iperf-${PV}
20         oe_runmake
23 do_install() {
24         cd ${WORKDIR}/iperf-${PV}/src
25         oe_runmake DESTDIR=${D} install