diff options
| author | Khem Raj <raj.khem@gmail.com> | 2013-04-25 08:45:06 -0700 |
|---|---|---|
| committer | Joe MacDonald <joe.macdonald@windriver.com> | 2013-04-29 14:08:22 -0400 |
| commit | ce9e77f921f78964698111231122a929f64db048 (patch) | |
| tree | a183c11533852cd355f06494fa9fd13db2c33ed6 | |
| parent | e6867fa02618c29a4469342bd3323f51445f9875 (diff) | |
| download | meta-openembedded-ce9e77f921f78964698111231122a929f64db048.tar.gz | |
nuttcp_7.2.1.bb: Add new recipe
nuttcp is a network perf measurement tool
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
| -rw-r--r-- | meta-networking/recipes-support/nuttcp/nuttcp_7.2.1.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/nuttcp/nuttcp_7.2.1.bb b/meta-networking/recipes-support/nuttcp/nuttcp_7.2.1.bb new file mode 100644 index 0000000000..b931d04702 --- /dev/null +++ b/meta-networking/recipes-support/nuttcp/nuttcp_7.2.1.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | # Copyright (C) 2013 Khem Raj <raj.khem@gmail.com> | ||
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 3 | |||
| 4 | SUMMARY = "network performance measurement tool" | ||
| 5 | DESCRIPTION = "nuttcp is a network performance measurement tool intended for use by network \ | ||
| 6 | and system managers. Its most basic usage is to determine the raw TCP (or UDP) \ | ||
| 7 | network layer throughput by transferring memory buffers from a source system \ | ||
| 8 | across an interconnecting network to a destination system, either transferring \ | ||
| 9 | data for a specified time interval, or alternatively transferring a specified \ | ||
| 10 | number of bytes." | ||
| 11 | HOMEPAGE = "http://www.nuttcp.net/nuttcp/Welcome%20Page.html" | ||
| 12 | LICENSE = "GPL-2.0" | ||
| 13 | SECTION = "net" | ||
| 14 | LIC_FILES_CHKSUM = "file://nuttcp-${PV}.c;beginline=4;endline=30;md5=ae7045c3c3616092e07d87f04ba0d960" | ||
| 15 | |||
| 16 | SRC_URI = "http://lcp.nrl.navy.mil/nuttcp/beta/nuttcp-${PV}.c" | ||
| 17 | SRC_URI[md5sum] = "1ebf4a08bad2a295a8155f02995e8754" | ||
| 18 | SRC_URI[sha256sum] = "c6e33810ccce67260f8d5d627f60e429d44f532365c58ed5673d035e2a59c4db" | ||
| 19 | |||
| 20 | S = "${WORKDIR}" | ||
| 21 | |||
| 22 | do_compile () { | ||
| 23 | ${CC} ${CFLAGS} -o nuttcp nuttcp-${PV}.c | ||
| 24 | } | ||
| 25 | |||
| 26 | do_install () { | ||
| 27 | install -d ${D}${bindir} | ||
| 28 | install -m 0755 nuttcp ${D}${bindir} | ||
| 29 | } | ||
