netbase: fix non working wpa_supplicant detection in network restarts. Push PR.
[openembedded.git] / recipes / iperf / iperf.inc
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"
6
7 inherit autotools
8
9 S="${WORKDIR}/iperf-${PV}"
10
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
16 }
17
18 do_compile() {
19         cd ${WORKDIR}/iperf-${PV}
20         oe_runmake
21 }
22
23 do_install() {
24         cd ${WORKDIR}/iperf-${PV}/src
25         oe_runmake DESTDIR=${D} install
26 }