summaryrefslogtreecommitdiff
path: root/packages/gsm/pty_0.0.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-11-05 14:07:23 +0000
committerKoen Kooi <koen@openembedded.org>2007-11-05 14:07:23 +0000
commitc69ce26e7ac4eadf3f8fdd5dae7df46313c12462 (patch)
treee90776673894026ef86005a40e4b4adea65c97f7 /packages/gsm/pty_0.0.bb
parentb50d962c7a083cf090d503c76d622a1f3fa743e2 (diff)
parent6a29d78084cde757c6f8ec233811690eee7172af (diff)
propagate from branch 'org.openembedded.dev' (head a9d8dbf4fa950567435550e72514ae1d5ba70efe)
to branch 'org.openembedded.dev.avr32' (head 98a24ed978fa92519a7d390465714a7742060284)
Diffstat (limited to 'packages/gsm/pty_0.0.bb')
-rw-r--r--packages/gsm/pty_0.0.bb16
1 files changed, 16 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..39592a90a1
--- /dev/null
+++ b/packages/gsm/pty_0.0.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Forwards a socket to a tty"
+LICENSE = "GPLv2"
+PR = "r1"
+
+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}/
+}
+