diff options
Diffstat (limited to 'packages/gpsdrive/gpsdrive.inc')
-rw-r--r-- | packages/gpsdrive/gpsdrive.inc | 25 |
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 +} |