summaryrefslogtreecommitdiff
path: root/packages/gpsdrive/gpsdrive_2.10pre3.bb
blob: 0dc0bdbe7db82ae0ec0f43e90727e61c1447ae14 (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
26
27
28
29
30
inherit autotools pkgconfig

PR = "r0"
DEFAULT_PREFERENCE="-1"

PACKAGES += "gpsdrive-add"
DESCRIPTION = "GPS navigation/map display software"
DEPENDS = "virtual/libc gtk+ pcre gpsd"
RDEPENDS_${PN} = "gdk-pixbuf-loader-gif gpsd"
MAINTAINER = "Florian Boor <florian.boor@kernelconcepts.de>"
SECTION = "x11"
PRIORITY = "optional"
LICENSE = "GPL"

SRC_URI = "http://www.ostertag.name/tweety/Projekte/gpsdrive/gpsdrive-2.10pre3.tar.gz \
           file://gpsdrive.desktop"

CFLAGS += "-D_GNU_SOURCE"

FILES_${PN} = "${bindir}/gpsdrive ${bindir}/wpcvt ${bindir}/wpget ${datadir}/pixmaps ${datadir}/applications"
FILES_${PN} += "${datadir}/${PN}"

FILES_gpsdrive-add = "${libdir}"
 
EXTRA_OECONF = "--disable-garmin"

do_install_append () {
        mkdir -p  ${D}${datadir}/applications
        install -m 0644 ${WORKDIR}/gpsdrive.desktop ${D}${datadir}/applications/gpsdrive.desktop
}