diff options
author | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-02-22 12:53:55 +0000 |
---|---|---|
committer | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-02-22 12:53:55 +0000 |
commit | 4f857db335de6935077d4866c51dd9d6851fed1d (patch) | |
tree | 1c923be071d1a56bd79f467fd75ac77959a493a3 /packages/netperf/netperf_2.3.bb | |
parent | b32403d57d7e0473dd336e76f95c7b26f113cf26 (diff) |
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/02/21 17:35:27-06:00 ti.com!kergoth
Kill the ipkg paths patch, since its busted.
2005/02/21 17:33:13-06:00 ti.com!kergoth
Fix sbindir in native.bbclass and cross.bbclass. Thanks to Jordan Crouse for reporting.
2005/02/21 17:13:19-06:00 ti.com!kergoth
Add the paths patch to ipkg which fixes it to no longer hardcode the '/usr/lib/ipkg' path, which I forgot to check in from the previous commit.
2005/02/21 17:09:46-06:00 ti.com!kergoth
Merge oe-devel@oe-devel.bkbits.net:openembedded
into odin.sc.ti.com:/home/kergoth/code/user/oe/openembedded
2005/02/21 17:09:03-06:00 ti.com!kergoth
Run a sed script against our packages to fix some hardcoded target path
references. As always when I do things like this, if packages you maintain
were touched by this, please do a sanity check to ensure the sed script didn't
run wild.
2005/02/21 15:49:47-06:00 ti.com!kergoth
Use a HOTPLUG variable to manage which hotplug you prefer, to ensure that hotplug is still included in task-bootstrap even if you dont set DISTRO.
BKrev: 421b2b63X5eoMcSrC7pVcptXK-iFKg
Diffstat (limited to 'packages/netperf/netperf_2.3.bb')
-rw-r--r-- | packages/netperf/netperf_2.3.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/packages/netperf/netperf_2.3.bb b/packages/netperf/netperf_2.3.bb index e69de29bb2..02465402db 100644 --- a/packages/netperf/netperf_2.3.bb +++ b/packages/netperf/netperf_2.3.bb @@ -0,0 +1,49 @@ +SECTION = "console/network" +DESCRIPTION="Network performance benchmark including tests for TCP, UDP, sockets, ATM and more." +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 + +S = "${WORKDIR}/netperf-${PV}.orig" + +CFLAGS_append = " -DDO_UNIX -DDO_IPV6" + +do_compile() { + oe_runmake + sed -i 's:^\(NETHOME=\).*:${bindir}:' *_script +} + +do_install() { + install -d ${D}/${sbindir} ${D}/${bindir} ${D}/${sysconfdir}/init.d + install -m 4755 netperf ${D}/${bindir} + install -m 4755 netserver ${D}/${sbindir} + install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/netperf + + # man + install -d ${D}/${mandir}/man1/ + install -m 0644 netserver.man ${D}/${mandir}/man1/netserver.1 + install -m 0644 netperf.man ${D}/${mandir}/man1/netperf.1 + + # move scripts to examples directory + install -d ${D}/${docdir}/netperf/examples + install -m 0644 tcp_range_script ${D}/${docdir}/netperf/examples/ + install -m 0644 tcp_stream_script ${D}/${docdir}/netperf/examples/ + install -m 0644 tcp_rr_script ${D}/${docdir}/netperf/examples/ + install -m 0644 udp_stream_script ${D}/${docdir}/netperf/examples/ + install -m 0644 udp_rr_script ${D}/${docdir}/netperf/examples/ + install -m 0644 snapshot_script ${D}/${docdir}/netperf/examples/ + + # docs .. + install -m 0644 ACKNWLDGMNTS ${D}/${docdir}/netperf + install -m 0644 COPYRIGHT ${D}/${docdir}/netperf + install -m 0644 Release_Notes ${D}/${docdir}/netperf + install -m 0644 README ${D}/${docdir}/netperf + install -m 0644 netperf.ps ${D}/${docdir}/netperf +} + +INITSCRIPT_NAME="netperf" +INITSCRIPT_PARAMS="defaults" |