summaryrefslogtreecommitdiff
path: root/packages/gpsdrive/gpsdrive.inc
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-03-13 03:23:54 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-03-13 03:23:54 +0000
commit54ff4e3c9cf1941a359498e8d9413d8e68761c0c (patch)
treeef528c0a81731fc5940e5aeb737dbb3fd3cfe2e2 /packages/gpsdrive/gpsdrive.inc
parent2b588379b62a2b5386c23da3ccb8f04d68313f38 (diff)
gpsdrive: fix pre4 dependency issues, clean up all versions, unify
* bump pre4 to be the default version * TODO: pre4: remove mysql dependency and better packaging
Diffstat (limited to 'packages/gpsdrive/gpsdrive.inc')
-rw-r--r--packages/gpsdrive/gpsdrive.inc25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/gpsdrive/gpsdrive.inc b/packages/gpsdrive/gpsdrive.inc
new file mode 100644
index 0000000000..562990d278
--- /dev/null
+++ b/packages/gpsdrive/gpsdrive.inc
@@ -0,0 +1,25 @@
+DESCRIPTION = "GPS navigation/map display software"
+HOMEPAGE = "http://www.gpsdrive.de/"
+AUTHOR = ""Fritz Ganter gpsdrive@warbase.selwerd.nl"
+SECTION = "x11/applications"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "virtual/libc gtk+ libpcre gpsd"
+RDEPENDS_${PN} = "gdk-pixbuf-loader-gif gpsd"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--disable-garmin"
+
+CFLAGS += "-D_GNU_SOURCE"
+
+do_install_append() {
+ mkdir -p ${D}${datadir}/applications
+ install -m 0644 ${WORKDIR}/*.desktop ${D}${datadir}/applications/gpsdrive.desktop
+
+ # gpsd is provided by RDEPENDS
+ if test -e ${D}${bindir}/gpsd
+ then
+ rm ${D}${bindir}/gpsd
+ fi
+}