Skip to contentSkip to conversation

nuttcp_7.2.1.bb: Add new recipe

PATCH Superseded Khem Raj 2 participants 2 messages Apr 25, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 nuttcp_7.2.1.bb: Add new recipe

nuttcp is a network perf measurement tool

---
 .../recipes-support/nuttcp/nuttcp_7.2.1.bb         |   31 ++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 meta-networking/recipes-support/nuttcp/nuttcp_7.2.1.bb
meta-networking/recipes-support/nuttcp/nuttcp_7.2.1.bb new file +31 -0
new file mode 100644
index 0000000..225ba1f
@@ -0,0 +1,31 @@
+# Copyright (C) 2013 Khem Raj <[email protected]>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "network performance measurement tool"
+DESCRIPTION = "nuttcp is a network performance measurement tool intended for use by network \
+and system managers. Its most basic usage is to determine the raw TCP (or UDP) \
+network layer throughput by transferring memory buffers from a source system \
+across an interconnecting network to a destination system, either transferring \
+data for a specified time interval, or alternatively transferring a specified \
+number of bytes."
+HOMEPAGE = "http://www.nuttcp.net/nuttcp/Welcome%20Page.html"
+LICENSE = "GPL-2.0"
+SECTION = "net"
+DEPENDS = ""
+PR = "r0"
+LIC_FILES_CHKSUM = "file://nuttcp-${PV}.c;beginline=4;endline=30;md5=ae7045c3c3616092e07d87f04ba0d960"
+
+SRC_URI = "http://lcp.nrl.navy.mil/nuttcp/beta/nuttcp-${PV}.c"
+SRC_URI[md5sum] = "1ebf4a08bad2a295a8155f02995e8754"
+SRC_URI[sha256sum] = "c6e33810ccce67260f8d5d627f60e429d44f532365c58ed5673d035e2a59c4db"
+
+S = "${WORKDIR}"
+
+do_compile () {
+	${CC} ${CFLAGS} -o nuttcp nuttcp-${PV}.c
+}
+
+do_install () {
+	install -d ${D}${bindir}
+	install -m 0755 nuttcp ${D}${bindir}
+}
Signature · 1 line
1.7.9.5
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 25-04-13 09:26, Khem Raj schreef:

Quoted 8 lines

nuttcp is a network perf measurement tool

.../recipes-support/nuttcp/nuttcp_7.2.1.bb | 31
++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta-networking/recipes-support/nuttcp/nuttcp_7.2.1.bb

(quoted diff) +0 -0
Quoted 14 lines

b/meta-networking/recipes-support/nuttcp/nuttcp_7.2.1.bb new file mode 100644 index 0000000..225ba1f --- /dev/null +++ b/meta-networking/recipes-support/nuttcp/nuttcp_7.2.1.bb @@ -0,0 +1,31 @@ +# Copyright (C) 2013 Khem Raj <[email protected]> +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "network performance measurement tool" +DESCRIPTION = "nuttcp is a network performance measurement tool intended for use by network \ +and system managers. Its most basic usage is to determine the raw TCP (or UDP) \
+network layer throughput by transferring memory buffers from a source system \ +across an interconnecting network to a destination system, either transferring \ +data for a specified time interval, or alternatively transferring a specified \ +number of bytes." +HOMEPAGE = "http://www.nuttcp.net/nuttcp/Welcome%20Page.html" +LICENSE = "GPL-2.0" +SECTION = "net" +DEPENDS = "" +PR = "r0"

With PRserv being inescapable nowadays we really shouldn't add PR = "r0" to new recipes anymore.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFReN2MMkyGM64RGpERAp3JAKCj1JdO8NZV1/44YY/QzHDwfxYytQCcDzvq sGUPUQUMaAb/xEtjKX8CIRE=
=W42n
-----END PGP SIGNATURE-----