summaryrefslogtreecommitdiff
path: root/packages/iperf/iperf_1.7.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/iperf/iperf_1.7.0.bb')
-rw-r--r--packages/iperf/iperf_1.7.0.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/iperf/iperf_1.7.0.bb b/packages/iperf/iperf_1.7.0.bb
index e69de29bb2..3434bfc3a7 100644
--- a/packages/iperf/iperf_1.7.0.bb
+++ b/packages/iperf/iperf_1.7.0.bb
@@ -0,0 +1,27 @@
+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"
+MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
+
+SRC_URI = "http://dast.nlanr.net/Projects/Iperf/iperf-${PV}-source.tar.gz \
+ file://socketaddr-h-errno.diff;patch=1;pnum=0"
+
+inherit autotools
+
+S=${WORKDIR}/iperf-${PV}/cfg
+PATCHES_DIR=${WORKDIR}/iperf-${PV}
+
+do_configure() {
+ oe_runconf
+}
+
+do_compile() {
+ cd ${WORKDIR}/iperf-${PV}
+ oe_runmake
+}
+
+do_install() {
+ cd ${WORKDIR}/iperf-${PV}/src
+ oe_runmake INSTALL_DIR=${D}${bindir} install
+}