1 FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
4 file://mapviewer-settings.sh \
5 file://mapviewer.service \
10 SYSTEMD_PACKAGES = "${PN}"
13 install -d ${D}${prefix}/AGL/${PN}
14 install -m 0755 ${WORKDIR}/mapviewer-settings.sh ${D}${prefix}/AGL/${PN}/
16 # Install systemd unit file
17 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
18 install -d ${D}${systemd_system_unitdir}
19 install -m 644 ${WORKDIR}/mapviewer.service ${D}${systemd_system_unitdir}/mapviewer.service
23 SYSTEMD_SERVICE_${PN} = "mapviewer.service"
25 FILES_${PN} += "${prefix}/AGL/${PN}/"