aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/freesmartphone/fso-gpsd_git.bb
blob: 6ada1f503d2b82077c283cf3fc8d72e19256eb94 (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
DESCRIPTION = "freesmartphone.org gpsd compatibility daemon"
LICENSE = "GPL"
SECTION = "network"
DEPENDS = "dbus-glib"
SRCREV = "39e810899110a9bb302cf2064e1c0f73541fb4e6"
PV = "0.8+gitr${SRCPV}"
PE = "1"
PR = "r2"

SRC_URI = "\
  ${FREESMARTPHONE_GIT}/fso-gpsd.git;protocol=git;branch=master \
  file://fso-gpsd \
"
S = "${WORKDIR}/git"

inherit autotools update-rc.d

INITSCRIPT_NAME = "fso-gpsd"
INITSCRIPT_PARAMS = "defaults 35"

do_install_append() {
    install -d ${D}${sysconfdir}/init.d/
    install -m 0755 ${WORKDIR}/fso-gpsd ${D}${sysconfdir}/init.d/
}

FILES_${PN} += "${sysconfdir}"
RDEPENDS_${PN} = "frameworkd"
RPROVIDES_${PN} = "gpsd"
# Disabled as we always got gpsd but not fso-gpsd in the fso-image. Needs
# fixing.
#RCONFLICTS_${PN} = "gpsd"