diff options
author | Philip Balister <philip@balister.org> | 2009-03-28 09:04:25 -0400 |
---|---|---|
committer | Philip Balister <philip@balister.org> | 2009-03-28 09:04:25 -0400 |
commit | fca3d79da64bdd63fe32d289e76148bcdffa4ee5 (patch) | |
tree | 89ba99efc7fe4a8273feb632054edcd7c036c7f1 /recipes/iperf/iperf.inc | |
parent | adc3749d8ca13c9983f3a0706092b62c6c52c0ab (diff) |
iperf_2.0.2.bb : Convert to use .inc file
Diffstat (limited to 'recipes/iperf/iperf.inc')
-rw-r--r-- | recipes/iperf/iperf.inc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/iperf/iperf.inc b/recipes/iperf/iperf.inc new file mode 100644 index 0000000000..07a8064744 --- /dev/null +++ b/recipes/iperf/iperf.inc @@ -0,0 +1,25 @@ +SECTION = "console/network" +DESCRIPTION = "Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning of various parameters and UDP characteristics" +HOMEPAGE = "http://dast.nlanr.net/Projects/Iperf/" +LICENSE = "BSD" +PR = "r0" + +inherit autotools + +S="${WORKDIR}/iperf-${PV}" + +# --disable-threads is needed on epia/x86 with uclibc +do_configure() { + gnu-configize + oe_runconf --exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix} --disable-threads +} + +do_compile() { + cd ${WORKDIR}/iperf-${PV} + oe_runmake +} + +do_install() { + cd ${WORKDIR}/iperf-${PV}/src + oe_runmake DESTDIR=${D} install +} |