summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2008-01-01 17:42:34 +0000
committerMatthias Hentges <oe@hentges.net>2008-01-01 17:42:34 +0000
commit0db3fd6f76f6c403ba2fb8fe3a11149dda22e7c1 (patch)
tree740e34bb56e5a7bd19758d6a06128b28c138a32b /packages
parent7c0ee17b9b562a0d46ea3207f117b85e9494c469 (diff)
openmoko-apps: Add openmoko-gps by Lucas Bonnet
Diffstat (limited to 'packages')
-rw-r--r--packages/openmoko-apps/files/openmoko-gps.desktop12
-rw-r--r--packages/openmoko-apps/openmoko-gps_0.0.1+svnr4.bb32
2 files changed, 44 insertions, 0 deletions
diff --git a/packages/openmoko-apps/files/openmoko-gps.desktop b/packages/openmoko-apps/files/openmoko-gps.desktop
new file mode 100644
index 0000000000..ed3ec23933
--- /dev/null
+++ b/packages/openmoko-apps/files/openmoko-gps.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=GPS
+Comment=Display GPS coordinates
+Exec=gps_reader.py
+Icon=openmoko-terminal
+Terminal=false
+Type=Application
+Categories=GTK;Application;Utilities;
+MimeType=text/x-vcard;
+SingleInstance=true
+StartupNotify=true
diff --git a/packages/openmoko-apps/openmoko-gps_0.0.1+svnr4.bb b/packages/openmoko-apps/openmoko-gps_0.0.1+svnr4.bb
new file mode 100644
index 0000000000..a0a0a50942
--- /dev/null
+++ b/packages/openmoko-apps/openmoko-gps_0.0.1+svnr4.bb
@@ -0,0 +1,32 @@
+#! /bin/sh
+#
+# Copyright Matthias Hentges <devel@hentges.net> (c) 2008
+# License: MIT (see http://www.opensource.org/licenses/mit-license.php
+# for a copy of the license)
+#
+# Filename: openmoko-gps_svn.bb
+# Date: 20080101 (YMD)
+
+DESCRIPTION = "A tiny GPS output parser for the OpenMoko platform."
+HOMEPAGE = "http://forge.bearstech.com/trac/wiki/OpenMokoGPS"
+SECTION = "base"
+LICENSE = "GPL"
+
+RDEPENDS = "python-pygtk"
+
+PR = "r0"
+
+######################################################################################
+
+SRC_URI = "svn://forge.bearstech.com/bearforge/openmoko;module=gps;rev=4 \
+ file://openmoko-gps.desktop"
+
+S = "${WORKDIR}/gps"
+
+do_install() {
+ install -d ${D}/usr/bin
+ install -d ${D}/usr/share/applications/
+
+ install -m 0755 ${S}/gps_reader.py ${D}/usr/bin
+ install -m 0644 ${WORKDIR}/openmoko-gps.desktop ${D}/usr/share/applications/
+}