aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/UnixTTCP/UnixTTCP_1.12.bb
blob: cf4e076209091b1f9e33ec214aa162bf31bd4a58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"