summaryrefslogtreecommitdiff
path: root/packages/gpsdrive/gpsdrive-pda_2.10pre2.bb
diff options
context:
space:
mode:
authorDmitry Artamonow <mad_soft@inbox.ru>2008-01-14 22:10:51 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2008-01-14 22:10:51 +0000
commit787d2b4617d311409a60f122e7a3dbbcdabd56e7 (patch)
tree2a48cdf940a324235d48f5dbfd0db3a36c4d1d35 /packages/gpsdrive/gpsdrive-pda_2.10pre2.bb
parentd1bb720841fe4eddeb5519296b78ae5801ed4a6f (diff)
gpsdrive-pda 2.10pre2: Add a PDA, QVGA optimized fork of GPSDrive.
Diffstat (limited to 'packages/gpsdrive/gpsdrive-pda_2.10pre2.bb')
-rw-r--r--packages/gpsdrive/gpsdrive-pda_2.10pre2.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/gpsdrive/gpsdrive-pda_2.10pre2.bb b/packages/gpsdrive/gpsdrive-pda_2.10pre2.bb
new file mode 100644
index 0000000000..6350053768
--- /dev/null
+++ b/packages/gpsdrive/gpsdrive-pda_2.10pre2.bb
@@ -0,0 +1,34 @@
+inherit autotools pkgconfig
+
+PR = "r1"
+DESCRIPTION = "GPS navigation/map display software, PDA-optimized version"
+HOMEPAGE = "http://www.gedanken.demon.co.uk/gpsdrive-ipaq/"
+DEPENDS = "virtual/libc gtk+ libpcre gpsd"
+RDEPENDS_${PN} = "gdk-pixbuf-loader-gif gpsd"
+SECTION = "x11"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+inherit pkgconfig
+
+SRC_URI = "http://www.gedanken.demon.co.uk/gpsdrive-ipaq/gpsdrive-2.10pre2-ipaq-r4.tar.gz \
+ file://makefile.patch;patch=1 "
+
+S = "${WORKDIR}/gpsdrive-2.10pre2-ipaq"
+
+FILES_${PN} = "${bindir}/gpsdrive ${datadir}/gpsdrive ${datadir}/pixmaps ${datadir}/applications"
+FILES_${PN} += "${datadir}/${PN}"
+
+do_compile () {
+ oe_runmake "CC=${CC}" "LD=${CC}" "STRIP=${STRIP}" all
+}
+
+do_install () {
+ mkdir -p ${D}${datadir}
+ cp -a ipkg-data/usr/share/* ${D}${datadir}/
+ cp -a README.iPAQ.txt ${D}${datadir}/gpsdrive
+ cp -a COPYING ${D}${datadir}/gpsdrive
+ cp -a original-docs ${D}${datadir}/gpsdrive
+ mkdir -p ${D}${bindir}
+ install -m 0755 gpsdrive ${D}${bindir}/
+}