aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf_samuelsson@telia.com>2011-11-16 15:02:36 +0100
committerUlf Samuelsson <ulf_samuelsson@telia.com>2011-11-21 15:54:21 +0100
commit86e56f64ebf3fe8d42af5b6fa557c6afd077e5a8 (patch)
treea22b0df23fc7cf1a56988d9cab81f3c56fb69d19
parent562494847f3a8e7ea206d450b3d6acd699f58186 (diff)
downloadopenembedded-86e56f64ebf3fe8d42af5b6fa557c6afd077e5a8.zip
openembedded-86e56f64ebf3fe8d42af5b6fa557c6afd077e5a8.tar.gz
openembedded-86e56f64ebf3fe8d42af5b6fa557c6afd077e5a8.tar.bz2
UnixTTCP: Add host ttcp
Signed-off-by: Ulf Samuelsson <ulf_samuelsson@telia.com>
-rw-r--r--recipes/UnixTTCP/UnixTTCP_1.12.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/UnixTTCP/UnixTTCP_1.12.bb b/recipes/UnixTTCP/UnixTTCP_1.12.bb
new file mode 100644
index 0000000..cf4e076
--- /dev/null
+++ b/recipes/UnixTTCP/UnixTTCP_1.12.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Test TCP connection."
+# Makes a connection on port 5001 and transfers fabricated
+# buffers or data copied from stdin.
+LICENSE = "Public Domain"
+
+PR = "r0"
+PN = "unixttcp"
+
+SRC_URI = "http://www.pcausa.com/Utilities/pcattcp/UnixTTCP.zip \
+ "
+S = "${WORKDIR}/UnixTTCP"
+
+do_compile () {
+ ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} -o ttcp ttcp.c
+}
+
+do_stage() {
+ install -d ~/bin
+ install -m 0755 ${S}/ttcp ~/bin
+}
+
+# Wrong Checksums for now.
+SRC_URI[md5sum] = "4061bf263cdd6bbccacedcca9b6370aa"
+SRC_URI[sha256sum] = "d209f58b6765c0eb0ee2e7cf27b9cd4bdaab861ae9adab9f9367700552423847"