summaryrefslogtreecommitdiff
path: root/recipes-navigation/gpsd/gpsd_3.16.bb
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-09-04 17:07:25 -0500
committerJohn Klug <john.klug@multitech.com>2018-09-04 17:07:25 -0500
commit354178049a6663166d9a1b7927a38e627d19d0ff (patch)
treef41c0c18b2b7720f799c73f4132681c612f2d03d /recipes-navigation/gpsd/gpsd_3.16.bb
parent735bee1d2fbcef9a35083bd1bae8e64fb542087c (diff)
downloadmeta-mlinux-354178049a6663166d9a1b7927a38e627d19d0ff.tar.gz
meta-mlinux-354178049a6663166d9a1b7927a38e627d19d0ff.tar.bz2
meta-mlinux-354178049a6663166d9a1b7927a38e627d19d0ff.zip
Put the C header files in gpsd-dev
Diffstat (limited to 'recipes-navigation/gpsd/gpsd_3.16.bb')
-rw-r--r--recipes-navigation/gpsd/gpsd_3.16.bb28
1 files changed, 17 insertions, 11 deletions
diff --git a/recipes-navigation/gpsd/gpsd_3.16.bb b/recipes-navigation/gpsd/gpsd_3.16.bb
index 68d54ff..1d01291 100644
--- a/recipes-navigation/gpsd/gpsd_3.16.bb
+++ b/recipes-navigation/gpsd/gpsd_3.16.bb
@@ -4,7 +4,7 @@ LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=d217a23f408e91c94359447735bc1800"
DEPENDS = "dbus dbus-glib ncurses python libusb1 chrpath-replacement-native pps-tools"
PROVIDES = "virtual/gpsd"
-PR="m7"
+PR="m8"
EXTRANATIVEPATH += "chrpath-native"
@@ -112,8 +112,13 @@ do_install_append() {
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_unitdir}/system/${BPN}.service
install -m 0644 ${S}/systemd/${BPN}.socket ${D}${systemd_unitdir}/system/${BPN}.socket
+
+ # support for dev (development)
+ install -m 0644 ${S}/gpsd.h ${D}/${includedir}
}
+RDEPENDS_${PN}-conf += "bash"
+
pkg_postinst_${PN}-conf() {
update-alternatives --install ${sysconfdir}/default/gpsd gpsd-defaults ${sysconfdir}/default/gpsd.default 10
}
@@ -124,19 +129,20 @@ pkg_postrm_${PN}-conf() {
PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils"
+# File does not exist: ${libdir}/libQgpsmm.prl
FILES_${PN}-dev += "${libdir}/pkgconfdir/libgpsd.pc ${libdir}/pkgconfdir/libgps.pc \
- ${libdir}/libQgpsmm.prl"
+ ${includedir}/gps.h ${includedir}/gpsd.h ${includedir}/libgpsmm.h"
FILES_${PN} += "${sbindir}/gpsd_ubx_fixed ${sbindir}/gpsd_ubx_settime"
FILES_python-pygps-dbg += " ${libdir}/python*/site-packages/gps/.debug"
-RDEPENDS_${PN} = "gpsd-gpsctl"
+RDEPENDS_${PN} = "gpsd-gpsctl bash"
RRECOMMENDS_${PN} = "gpsd-conf gpsd-udev gpsd-machine-conf"
-SUMMARY_gpsd-udev = "udev relevant files to use gpsd hotplugging"
-FILES_gpsd-udev = "${base_libdir}/udev ${sysconfdir}/udev/*"
-RDEPENDS_gpsd-udev += "udev gpsd-conf"
+SUMMARY_${PN}-udev = "udev relevant files to use gpsd hotplugging"
+FILES_${PN}-udev = "${base_libdir}/udev ${sysconfdir}/udev/*"
+RDEPENDS_${PN}-udev += "udev gpsd-conf"
SUMMARY_libgpsd = "C service library used for communicating with gpsd"
FILES_libgpsd = "${libdir}/libgpsd.so.*"
@@ -144,12 +150,12 @@ FILES_libgpsd = "${libdir}/libgpsd.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_${PN}-conf = "gpsd configuration files and init scripts"
+FILES_${PN}-conf = "${sysconfdir}"
+CONFFILES_${PN}-conf = "${sysconfdir}/default/gpsd.default"
-SUMMARY_gpsd-gpsctl = "Tool for tweaking GPS modes"
-FILES_gpsd-gpsctl = "${bindir}/gpsctl"
+SUMMARY_${PN}-gpsctl = "Tool for tweaking GPS modes"
+FILES_${PN}-gpsctl = "${bindir}/gpsctl"
SUMMARY_gps-utils = "Utils used for simulating, monitoring,... a GPS"
FILES_gps-utils = "${bindir}/*"