From 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd Mon Sep 17 00:00:00 2001 From: ToshikazuOhiwa Date: Mon, 30 Mar 2020 09:24:26 +0900 Subject: agl-basesystem --- .../recipes-support/nuttcp/nuttcp_7.2.1.bb | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 external/meta-openembedded/meta-networking/recipes-support/nuttcp/nuttcp_7.2.1.bb (limited to 'external/meta-openembedded/meta-networking/recipes-support/nuttcp/nuttcp_7.2.1.bb') diff --git a/external/meta-openembedded/meta-networking/recipes-support/nuttcp/nuttcp_7.2.1.bb b/external/meta-openembedded/meta-networking/recipes-support/nuttcp/nuttcp_7.2.1.bb new file mode 100644 index 00000000..9430add4 --- /dev/null +++ b/external/meta-openembedded/meta-networking/recipes-support/nuttcp/nuttcp_7.2.1.bb @@ -0,0 +1,29 @@ +# Copyright (C) 2013 Khem Raj +# 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/Welcome%20Page.html" +LICENSE = "GPL-2.0" +SECTION = "net" +LIC_FILES_CHKSUM = "file://${BP}.c;beginline=4;endline=30;md5=ae7045c3c3616092e07d87f04ba0d960" + +SRC_URI = "http://nuttcp.net/${BPN}/beta/${BP}.c" +SRC_URI[md5sum] = "1ebf4a08bad2a295a8155f02995e8754" +SRC_URI[sha256sum] = "c6e33810ccce67260f8d5d627f60e429d44f532365c58ed5673d035e2a59c4db" + +S = "${WORKDIR}" + +do_compile () { + ${CC} ${CFLAGS} ${LDFLAGS} -o nuttcp nuttcp-${PV}.c +} + +do_install () { + install -d ${D}${bindir} + install -m 0755 nuttcp ${D}${bindir} +} -- cgit 1.2.3-korg