summaryrefslogtreecommitdiff
path: root/iperf/iperf_1.7.0.oe
blob: 59ce91e7b2b9d20075d18355ad82abe1de6b92b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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/"
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
}