From 9aa02c372cbc12fdd9064ec503b7136f4e70d885 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Tue, 22 Mar 2016 22:57:36 +0100 Subject: Add recipe for netpipe package for QA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds a recipe for netpipe (NPtcp, NPtcp6, NPmemcpy) to be used in QA tests like JTA and others. Change-Id: I8b5c1bc8500498de6d72bfab8b624ecb4efa8ec6 Signed-off-by: Jan-Simon Möller --- .../recipes-test/netpipe/netpipe_3.7.2.bb | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta-ivi-common/recipes-test/netpipe/netpipe_3.7.2.bb (limited to 'meta-ivi-common/recipes-test/netpipe/netpipe_3.7.2.bb') diff --git a/meta-ivi-common/recipes-test/netpipe/netpipe_3.7.2.bb b/meta-ivi-common/recipes-test/netpipe/netpipe_3.7.2.bb new file mode 100644 index 000000000..6a4004ea8 --- /dev/null +++ b/meta-ivi-common/recipes-test/netpipe/netpipe_3.7.2.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Network Protocol Independent Performance Evaluator" +LICENSE = "GPL-1.0" +URL = "http://bitspjoule.org/netpipe" + +# PV from recipe filename +SRC_URI = "http://bitspjoule.org/netpipe/code/NetPIPE-${PV}.tar.gz" +# change makefile to support env variables of bitbake +SRC_URI += "file://netpipe-makefile.patch" + +SRC_URI[md5sum] = "653071f785404bb68f8aaeff89fb1f33" +SRC_URI[sha256sum] = "13dac884ff52951636f651c421f5ff4a853218a95aa28a4a852402ee385a2ab8" + +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d" + +# bitbake expects ${PN}-${PV} which would be netpipe-3.7.2 but the tarball has: +S = "${WORKDIR}/NetPIPE-${PV}" + +# added after 'make' as argument +EXTRA_OEMAKE = "tcp tcp6 memcpy" + +do_install () { + install -d ${D}${bindir} + install -m 0755 NPtcp ${D}${bindir} + install -m 0755 NPtcp6 ${D}${bindir} + install -m 0755 NPmemcpy ${D}${bindir} +} -- cgit 1.2.3-korg