aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-11-28 20:15:41 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-11-28 20:15:41 +0000
commit37b0190d7c1f7e77a31686528eb5968f3da47ef6 (patch)
treea07e7c4352f349252875dfd8e7d0b631607569f0 /packages
parent8f6a95044ee32ee19bd705a2fa610c4db9cb2f5f (diff)
downloadopenembedded-37b0190d7c1f7e77a31686528eb5968f3da47ef6.tar.gz
openembedded-37b0190d7c1f7e77a31686528eb5968f3da47ef6.tar.bz2
openembedded-37b0190d7c1f7e77a31686528eb5968f3da47ef6.zip
netperf: added 2.4.2
Diffstat (limited to 'packages')
-rw-r--r--packages/netperf/netperf_2.4.2.bb43
1 files changed, 43 insertions, 0 deletions
diff --git a/packages/netperf/netperf_2.4.2.bb b/packages/netperf/netperf_2.4.2.bb
new file mode 100644
index 0000000000..e10d1c0094
--- /dev/null
+++ b/packages/netperf/netperf_2.4.2.bb
@@ -0,0 +1,43 @@
+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="${DEBIAN_MIRROR}/non-free/n/netperf/netperf_${PV}.orig.tar.gz \
+ file://init"
+
+inherit update-rc.d autotools
+
+S = "${WORKDIR}/netperf-${PV}"
+
+CFLAGS_append = " -DDO_UNIX -DDO_IPV6"
+
+do_configure_prepend() {
+ install -m 0644 ${S}/m4/m4/m4/*.m4 ${S}/m4/
+ install -m 0644 ${S}/src/missing/m4/*.m4 ${S}/m4/
+}
+
+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"