pty-forward-native.bb : add new from OM mtn
authorGraeme Gregory <dp@xora.org.uk>
Fri, 9 May 2008 14:24:16 +0000 (14:24 +0000)
committerGraeme Gregory <dp@xora.org.uk>
Fri, 9 May 2008 14:24:16 +0000 (14:24 +0000)
packages/openmoko-tools/pty-forward-native.bb [new file with mode: 0644]

diff --git a/packages/openmoko-tools/pty-forward-native.bb b/packages/openmoko-tools/pty-forward-native.bb
new file mode 100644 (file)
index 0000000..972070d
--- /dev/null
@@ -0,0 +1,24 @@
+LICENSE="GPL"
+SUMMARY="Receive a forwarded serial from serial-forward and provide a PTY"
+
+SRC_URI="svn://svn.openmoko.org/developers/zecke/;module=serial_forward;proto=http"
+S = "${WORKDIR}/serial_forward"
+
+inherit native
+
+do_compile() {
+    cd ${S}
+    oe_runmake
+}
+
+do_stage() {
+    :
+}
+
+do_deploy() {
+    install -d ${DEPLOY_DIR_IMAGE}
+    install -m 0755 ${S}/pty_forward ${DEPLOY_DIR_IMAGE}/pty-forward
+}
+
+addtask deploy before do_package after do_install
+