From: Richard Purdie Date: Tue, 4 Apr 2006 21:33:22 +0000 (+0000) Subject: iperf: Add 2.0.2 (from Stelios Koroneos #774) X-Git-Tag: Release-2010-05/1~9453^2~2096^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=828297a014310af03afc7a245eea93f2576f9ba3;p=openembedded.git iperf: Add 2.0.2 (from Stelios Koroneos #774) --- diff --git a/packages/iperf/iperf_2.0.2.bb b/packages/iperf/iperf_2.0.2.bb new file mode 100644 index 0000000000..357ac19dd0 --- /dev/null +++ b/packages/iperf/iperf_2.0.2.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" +PR = "r0" + +SRC_URI = "http://dast.nlanr.net/Projects/Iperf2.0/iperf-${PV}.tar.gz" +# file://socketaddr-h-errno.diff;patch=1" + +inherit autotools + +S="${WORKDIR}/iperf-${PV}" + +# --disable-threads is needed on epia/x86 with uclibc +do_configure() { + oe_runconf --exec-prefix=${STAGING_DIR} --disable-threads +} + +do_compile() { + cd ${WORKDIR}/iperf-${PV} + oe_runmake +} + +do_install() { + cd ${WORKDIR}/iperf-${PV}/src + oe_runmake DESTDIR=${D} install +}