summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/gpsdrive/gpsdrive_cvs.bb
blob: 271ea1f3756a1c3a5c23e03de6b54bb04b4f8d36 (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
31
32
inherit autotools pkgconfig

PR = "r1"
PV = "2.10pre3+cvs-${CVSDATE}"
DEFAULT_PREFERENCE="-1"

PACKAGES += "gpsdrive-add"
DESCRIPTION = "GPS navigation/map display software"
DEPENDS = "virtual/libc libart-lgpl gtk+ pcre gpsd"
RDEPENDS_${PN} = "gdk-pixbuf-loader-gif gpsd"
MAINTAINER = "Koen Kooi <koen@handhelds.org>"
SECTION = "x11"
PRIORITY = "optional"
LICENSE = "GPL"

SRC_URI = "cvs://anonymous@cvs.gpsdrive.cc/cvsroot;module=gpsdrive \
           file://gpsdrive.desktop"

S = "${WORKDIR}/gpsdrive"
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
}