diff options
Diffstat (limited to 'recipes/ttcp/ttcp_1.12.bb')
-rw-r--r-- | recipes/ttcp/ttcp_1.12.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes/ttcp/ttcp_1.12.bb b/recipes/ttcp/ttcp_1.12.bb new file mode 100644 index 0000000000..46175eac8e --- /dev/null +++ b/recipes/ttcp/ttcp_1.12.bb @@ -0,0 +1,33 @@ +DESCRIPTION = "Test TCP connection." +# Makes a connection on port 5001 and transfers fabricated +# buffers or data copied from stdin. +LICENSE = "Public Domain" + +# We need something to talk to on the host... +PR = "r5" + +SRC_URI = "http://www.netcore.fi/pekkas/linux/ipv6/ttcp.c \ + " + +S = "${WORKDIR}" + +do_compile () { + ${CC} ${CFLAGS} ${LDFLAGS} -o ttcp ttcp.c +} + +do_install() { + install -d ${D}${bindir}/ + install -m 0755 ${S}/ttcp ${D}${bindir}/ +} + +# FILES_${PN} += " /usr/local/bin " +FILES_${PN} += " ${bindir}/* " + +#python do_package_prepend() { +# destdir = "%s/usr/local/bin" % (bb.data.expand('${D}', d)) +# bb.mkdirhier(destdir) +#} + + +SRC_URI[md5sum] = "2f6ffb3e9132f4815c3ade3bd1dba99b" +SRC_URI[sha256sum] = "52f438ef4f57ddbdd1e0dcd77efeffbdf10e59ff09279cff2fcc717803536612" |