diff options
author | Koen Kooi <koen@openembedded.org> | 2007-11-01 15:30:27 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-11-01 15:30:27 +0000 |
commit | b8d35813e7085c38bc98439693c60d9bafe0b9b2 (patch) | |
tree | e5e58ccb4ef9dab57a23d7c8e700def109ef9726 /packages/gsm/pty_0.0.bb | |
parent | 1e3b55ab155ba36f2a3526c3c85ffd6944827f73 (diff) |
pty: add Andrews tty forwarder
Diffstat (limited to 'packages/gsm/pty_0.0.bb')
-rw-r--r-- | packages/gsm/pty_0.0.bb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/gsm/pty_0.0.bb b/packages/gsm/pty_0.0.bb new file mode 100644 index 0000000000..f6ed30bf1a --- /dev/null +++ b/packages/gsm/pty_0.0.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Forwards a socket to a tty" +LICENSE = "GPLv2" + +SRC_URI = "file://pty.c" + +do_compile() { + cp ${WORKDIR}/*.c ${S}/ + ${CC} pty.c -o pty -I${STAGING_INCDIR} -L${STAGING_LIBDIR} +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 pty ${D}${bindir}/ +} + |