anchor.diff:  RREPLACES_${PN} += "${PN}-systemd"
   RCONFLICTS_${PN} += "${PN}-systemd"
   SYSTEMD_SERVICE_${PN} = "${PN}.socket"
  +
  +
  +ALTERNATIVE_${PN} = "gpsd-defaults"
  +ALTERNATIVE_PATH = "${sysconfdir}/default/gpsd.default"
  +ALTERNATIVE_LINK = "${sysconfdir}/default/gpsd"
  +ALTERNATIVE_TARGET = "${sysconfdir}/default/gpsd.default"
  
positive.code:     install -m 0644 ${S}/systemd/${BPN}.socket ${D}${systemd_unitdir}/system/${BPN}.socket
  }
  
  pkg_postinst_${PN}-conf() {
      update-alternatives --install ${sysconfdir}/default/gpsd gpsd-defaults ${sysconfdir}/default/gpsd.default 10
  }
  
  pkg_postrm_${PN}-conf() {
      update-alternatives --remove gpsd-defaults ${sysconfdir}/default/gpsd.default
  }
  
  PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils"
  
  FILES_${PN}-dev += "${libdir}/pkgconfdir/libgpsd.pc ${libdir}/pkgconfdir/libgps.pc \
  
negative.code: SRC_URI[md5sum] = "e0cfadcf4a65dfbdd2afb11c58f4e4a1"
  SRC_URI[sha256sum] = "68e0dbecfb5831997f8b3d6ba48aed812eb465d8c0089420ab68f9ce4d85e77a"
  
  inherit scons update-rc.d python-dir pythonnative systemd bluetooth update-alternatives
  
  INITSCRIPT_PACKAGES = "gpsd-conf"
  INITSCRIPT_NAME = "gpsd"
  INITSCRIPT_PARAMS = "defaults 35"
  
  