diff options
Diffstat (limited to 'recipes-navigation')
-rw-r--r-- | recipes-navigation/gpsd/gpsd_3.23.1.bb | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/recipes-navigation/gpsd/gpsd_3.23.1.bb b/recipes-navigation/gpsd/gpsd_3.23.1.bb index c11d4c7..5dfaf85 100644 --- a/recipes-navigation/gpsd/gpsd_3.23.1.bb +++ b/recipes-navigation/gpsd/gpsd_3.23.1.bb @@ -44,7 +44,7 @@ EXTRA_OESCONS = " \ # This cannot be used, because then chrpath is not found and only static lib is built # target=${HOST_SYS} -do_compile:prepend() { +do_compile_prepend() { export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}" export PKG_CONFIG="PKG_CONFIG_SYSROOT_DIR=\"${PKG_CONFIG_SYSROOT_DIR}\" pkg-config" export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}" @@ -66,7 +66,7 @@ do_install() { bbfatal "scons install execution failed." } -do_install:append() { +do_install_append() { install -d ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/gpsd.init ${D}${sysconfdir}/init.d/gpsd install -d ${D}${sysconfdir}/default @@ -79,32 +79,32 @@ do_install:append() { PACKAGES =+ "libgps python3-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils" -RPROVIDES:${PN}-dbg += "python-pygps-dbg" +RPROVIDES_${PN}-dbg += "python-pygps-dbg" -FILES:${PN}-dev += "${libdir}/libQgpsmm.prl" +FILES_${PN}-dev += "${libdir}/libQgpsmm.prl" -FILES:${PN}-doc += "${datadir}/${BPN}/doc" +FILES_${PN}-doc += "${datadir}/${BPN}/doc" -RDEPENDS:${PN} = "gpsd-gpsctl" -RRECOMMENDS:${PN} = "gpsd-conf gpsd-udev gpsd-machine-conf" +RDEPENDS_${PN} = "gpsd-gpsctl" +RRECOMMENDS_${PN} = "gpsd-conf gpsd-udev gpsd-machine-conf" -SUMMARY:gpsd-udev = "udev relevant files to use gpsd hotplugging" -FILES:gpsd-udev = "${nonarch_base_libdir}/udev" -RDEPENDS:gpsd-udev += "udev gpsd-conf" +SUMMARY_gpsd-udev = "udev relevant files to use gpsd hotplugging" +FILES_gpsd-udev = "${nonarch_base_libdir}/udev" +RDEPENDS_gpsd-udev += "udev gpsd-conf" -SUMMARY:libgps = "C service library used for communicating with gpsd" -FILES:libgps = "${libdir}/libgps.so.*" +SUMMARY_libgps = "C service library used for communicating with gpsd" +FILES_libgps = "${libdir}/libgps.so.*" -SUMMARY:gpsd-conf = "gpsd configuration files and init scripts" -FILES:gpsd-conf = "${sysconfdir}" -CONFFILES:gpsd-conf = "${sysconfdir}/default/gpsd.default" +SUMMARY_gpsd-conf = "gpsd configuration files and init scripts" +FILES_gpsd-conf = "${sysconfdir}" +CONFFILES_gpsd-conf = "${sysconfdir}/default/gpsd.default" -SUMMARY:gpsd-gpsctl = "Tool for tweaking GPS modes" -FILES:gpsd-gpsctl = "${bindir}/gpsctl" +SUMMARY_gpsd-gpsctl = "Tool for tweaking GPS modes" +FILES_gpsd-gpsctl = "${bindir}/gpsctl" -SUMMARY:gps-utils = "Utils used for simulating, monitoring,... a GPS" +SUMMARY_gps-utils = "Utils used for simulating, monitoring,... a GPS" # Python files are required for gps/fake, required for gpsfake. -FILES:gps-utils = "\ +FILES_gps-utils = "\ ${bindir}/cgps \ ${bindir}/gegps \ ${bindir}/gps2udp \ @@ -130,11 +130,11 @@ FILES:gps-utils = "\ ${bindir}/xgpsspeed \ ${bindir}/zerk \ " -RDEPENDS:gps-utils = "python3-pygps" +RDEPENDS_gps-utils = "python3-pygps" -SUMMARY:python3-pygps = "Python bindings to gpsd" -FILES:python3-pygps = "${PYTHON_SITEPACKAGES_DIR}/* ${libdir}/gps/*.py ${libdir}/*.egg-info" -RDEPENDS:python3-pygps = " \ +SUMMARY_python3-pygps = "Python bindings to gpsd" +FILES_python3-pygps = "${PYTHON_SITEPACKAGES_DIR}/* ${libdir}/gps/*.py ${libdir}/*.egg-info" +RDEPENDS_python3-pygps = " \ python3-core \ python3-io \ python3-threading \ @@ -142,11 +142,11 @@ RDEPENDS:python3-pygps = " \ gpsd \ python3-json" -RPROVIDES:${PN} += "${PN}-systemd" -RREPLACES:${PN} += "${PN}-systemd" -RCONFLICTS:${PN} += "${PN}-systemd" -SYSTEMD_SERVICE:${PN} = "${BPN}.socket ${BPN}ctl@.service" +RPROVIDES_${PN} += "${PN}-systemd" +RREPLACES_${PN} += "${PN}-systemd" +RCONFLICTS_${PN} += "${PN}-systemd" +SYSTEMD_SERVICE_${PN} = "${BPN}.socket ${BPN}ctl@.service" -ALTERNATIVE:${PN} = "gpsd-defaults" +ALTERNATIVE_${PN} = "gpsd-defaults" ALTERNATIVE_LINK_NAME[gpsd-defaults] = "${sysconfdir}/default/gpsd" ALTERNATIVE_TARGET[gpsd-defaults] = "${sysconfdir}/default/gpsd.default" |