diff options
author | Dirk Opfer <dirk@opfer-online.de> | 2008-05-09 12:04:42 +0000 |
---|---|---|
committer | Dirk Opfer <dirk@opfer-online.de> | 2008-05-09 12:04:42 +0000 |
commit | 2502c8cff3b98e311a88d35899592837ec64bf6e (patch) | |
tree | 192f0167fdb1b09598674b03f1749837c6ea1bcf /packages/netperf/netperf_2.4.4.bb | |
parent | 12da968966b659bea0a2e648848e341ce31901d9 (diff) |
netperf: upgrade to 2.4.4
Diffstat (limited to 'packages/netperf/netperf_2.4.4.bb')
-rw-r--r-- | packages/netperf/netperf_2.4.4.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/netperf/netperf_2.4.4.bb b/packages/netperf/netperf_2.4.4.bb new file mode 100644 index 0000000000..1594e8ee7a --- /dev/null +++ b/packages/netperf/netperf_2.4.4.bb @@ -0,0 +1,38 @@ +DESCRIPTION="Network performance benchmark including tests for TCP, UDP, sockets, ATM and more." +SECTION = "console/network" +HOMEPAGE = "http://www.netperf.org/" +LICENSE = "netperf" + +SRC_URI="ftp://ftp.netperf.org/netperf/netperf-${PV}.tar.bz2 \ + file://init" + +inherit update-rc.d autotools + +S = "${WORKDIR}/netperf-${PV}" + +CFLAGS_append = " -DDO_UNIX -DDO_IPV6" + +do_install() { + install -d ${D}${sbindir} ${D}${bindir} ${D}${sysconfdir}/init.d + install -m 4755 src/netperf ${D}${bindir} + install -m 4755 src/netserver ${D}${sbindir} + install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/netperf + + # man + install -d ${D}${mandir}/man1/ + install -m 0644 doc/netserver.man ${D}${mandir}/man1/netserver.1 + install -m 0644 doc/netperf.man ${D}${mandir}/man1/netperf.1 + + # move scripts to examples directory + install -d ${D}${docdir}/netperf/examples + install -m 0644 doc/examples/*_script ${D}${docdir}/netperf/examples/ + + # docs .. + install -m 0644 COPYING ${D}${docdir}/netperf + install -m 0644 Release_Notes ${D}${docdir}/netperf + install -m 0644 README ${D}${docdir}/netperf + install -m 0644 doc/netperf_old.ps ${D}${docdir}/netperf +} + +INITSCRIPT_NAME="netperf" +INITSCRIPT_PARAMS="defaults" |