summaryrefslogtreecommitdiff
path: root/packages/gpsdrive/gpsdrive-pda_2.10pre2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gpsdrive/gpsdrive-pda_2.10pre2.bb')
-rw-r--r--packages/gpsdrive/gpsdrive-pda_2.10pre2.bb23
1 files changed, 9 insertions, 14 deletions
diff --git a/packages/gpsdrive/gpsdrive-pda_2.10pre2.bb b/packages/gpsdrive/gpsdrive-pda_2.10pre2.bb
index 6350053768..e79240e392 100644
--- a/packages/gpsdrive/gpsdrive-pda_2.10pre2.bb
+++ b/packages/gpsdrive/gpsdrive-pda_2.10pre2.bb
@@ -1,34 +1,29 @@
-inherit autotools pkgconfig
+require gpsdrive.inc
+
+PR = "r2"
-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://gpsdrive.desktop \
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 () {
+do_compile() {
oe_runmake "CC=${CC}" "LD=${CC}" "STRIP=${STRIP}" all
}
-do_install () {
+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}/
}
+
+FILES_${PN} += "${datadir}/gpsdrive"