summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2012-02-16 02:03:13 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-02-23 16:46:32 +0100
commit62dd0bf7ebbb01d1e592e048db78e0bb96502cc4 (patch)
treecbebd439a0f22d460de17b464a20b10a92f18243
parent55745d1aecea580fc4a7d178f8fdb425eacead4d (diff)
downloadmeta-openembedded-62dd0bf7ebbb01d1e592e048db78e0bb96502cc4.tar.gz
gpsd: remove unneeded systemd code
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r--meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb12
1 files changed, 2 insertions, 10 deletions
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb b/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb
index ce2ab0238..927107a84 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d217a23f408e91c94359447735bc1800"
5DEPENDS = "dbus-glib ncurses python libusb1" 5DEPENDS = "dbus-glib ncurses python libusb1"
6PROVIDES = "virtual/gpsd" 6PROVIDES = "virtual/gpsd"
7 7
8PR = "r1" 8PR = "r2"
9 9
10EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \ 10EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
11 --x-libraries=${STAGING_LIBDIR} \ 11 --x-libraries=${STAGING_LIBDIR} \
@@ -68,11 +68,6 @@ do_install_append() {
68 install -m 0755 ${S}/gpsd.hotplug ${D}${base_libdir}/udev/ 68 install -m 0755 ${S}/gpsd.hotplug ${D}${base_libdir}/udev/
69 install -d ${D}${base_libdir}/udev/ 69 install -d ${D}${base_libdir}/udev/
70 install -m 0755 ${S}/gpsd.hotplug.wrapper ${D}${base_libdir}/udev/ 70 install -m 0755 ${S}/gpsd.hotplug.wrapper ${D}${base_libdir}/udev/
71
72 #support for systemd
73 install -d ${D}${base_libdir}/systemd/system
74 install -m 644 ${WORKDIR}/${PN}.socket ${D}${base_libdir}/systemd/system
75 install -m 644 ${WORKDIR}/${PN}.service ${D}${base_libdir}/systemd/system
76} 71}
77 72
78pkg_postinst_${PN}-conf() { 73pkg_postinst_${PN}-conf() {
@@ -83,7 +78,7 @@ pkg_postrm_${PN}-conf() {
83 update-alternatives --remove gpsd-defaults ${sysconfdir}/default/gpsd.default 78 update-alternatives --remove gpsd-defaults ${sysconfdir}/default/gpsd.default
84} 79}
85 80
86PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils ${PN}-systemd" 81PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils"
87 82
88FILES_python-pygps-dbg += " ${libdir}/python*/site-packages/gps/.debug" 83FILES_python-pygps-dbg += " ${libdir}/python*/site-packages/gps/.debug"
89 84
@@ -113,6 +108,3 @@ RDEPENDS_gps-utils = "python-pygps"
113DESCRIPTION_python-pygps = "Python bindings to gpsd" 108DESCRIPTION_python-pygps = "Python bindings to gpsd"
114FILES_python-pygps = "${PYTHON_SITEPACKAGES_DIR}/*" 109FILES_python-pygps = "${PYTHON_SITEPACKAGES_DIR}/*"
115RDEPENDS_python-pygps = "python-core python-curses gpsd python-json" 110RDEPENDS_python-pygps = "python-core python-curses gpsd python-json"
116
117FILES_${PN}-systemd += "${base_libdir}/systemd"
118RDEPENDS_${PN}-systemd += "${PN}"