blob: 748e59a8d2d02869fe04f6ab8a14732801e79795 (
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
|
SUMMARY = "King fisher specific gpsd config"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD;md5=3775480a712fc46a69647678acb234cb"
SRC_URI = " \
file://gpsd.kingfisher \
"
inherit update-alternatives
RPROVIDES_${PN} += "virtual/gpsd-conf"
ALTERNATIVE_${PN} = "gspd-defaults"
ALTERNATIVE_LINK_NAME[gspd-defaults] = "${sysconfdir}/default/gpsd"
ALTERNATIVE_TARGET[gspd-defaults] = "${sysconfdir}/default/gpsd.kingfisher"
ALTERNATIVE_PRIORITY[gspd-defaults] = "20"
COMPATIBLE_MACHINE = "ulcb"
PACKAGE_ARCH = "${MACHINE_ARCH}"
do_install() {
install -d ${D}/${sysconfdir}/default
install -m 0644 ${WORKDIR}/gpsd.kingfisher ${D}/${sysconfdir}/default/gpsd.kingfisher
}
FILES_${PN} = "${sysconfdir}/default/gpsd.kingfisher"
CONFFILES_${PN} = "${sysconfdir}/default/gpsd.kingfisher"
|