summaryrefslogtreecommitdiff
path: root/recipes/gpsdrive/gpsdrive.inc
blob: 562990d2787be2efd7b7ae26239bf352ea1b2431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}