diff --git a/recipes-core/images/nmrouter-image-dev.bb b/recipes-core/images/nmrouter-image-dev.bb index f107048..63549b8 100644 --- a/recipes-core/images/nmrouter-image-dev.bb +++ b/recipes-core/images/nmrouter-image-dev.bb @@ -19,6 +19,7 @@ BENCH_TOOLS = " \ strongswan \ gps-utils \ ser2net \ + speedtest-cli \ " EASY_EDITOR = " \ diff --git a/recipes-devtools/speedtest-cli/speedtest-cli.bb b/recipes-devtools/speedtest-cli/speedtest-cli.bb new file mode 100644 index 0000000..117bd6e --- /dev/null +++ b/recipes-devtools/speedtest-cli/speedtest-cli.bb @@ -0,0 +1,19 @@ +SUMMARY = "Speed Test tool" +DESCRIPTION = "Command line interface for testing internet bandwidth using speedtest.net" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI = "git://github.com/sivel/speedtest-cli.git;protocol=git " +SRCREV = "${AUTOREV}" +S = "${WORKDIR}/git" +RDEPENDS_${PN} = "python" + +do_install () { + install -d -m 755 ${D}${bindir}/ + install -m 755 speedtest.py ${D}${bindir}/ +} + +FILES_${PN} = " ${bindir}/speedtest.py" + +INHIBIT_PACKAGE_DEBUG_SPLIT = "1"