summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-navigation
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2012-04-23 18:37:49 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2012-04-29 23:29:33 +0200
commit054be7129a1fb427cde94be2c3044f25e359f6bc (patch)
treee53b36342da77c1f28c14c040fc8a8a14eb6e132 /meta-oe/recipes-navigation
parentf1be53fd686a78f1035bc14133e4aa21e12642d2 (diff)
downloadmeta-openembedded-054be7129a1fb427cde94be2c3044f25e359f6bc.tar.gz
gpsd-3.4: minor style issues
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-navigation')
-rw-r--r--meta-oe/recipes-navigation/gpsd/gpsd_3.4.bb29
1 files changed, 13 insertions, 16 deletions
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.4.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.4.bb
index 972871a32..0e6755582 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.4.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.4.bb
@@ -5,16 +5,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d217a23f408e91c94359447735bc1800"
5DEPENDS = "dbus dbus-glib ncurses python libusb1" 5DEPENDS = "dbus dbus-glib ncurses python libusb1"
6PROVIDES = "virtual/gpsd" 6PROVIDES = "virtual/gpsd"
7 7
8PR = "r0" 8SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \
9 9 file://gpsd-default \
10SRC_URI = "http://download.savannah.gnu.org/releases/gpsd/gpsd-${PV}.tar.gz;name=gpsd \ 10 file://gpsd \
11 file://gpsd-default \ 11 file://gpsd.socket \
12 file://gpsd \ 12 file://gpsd.service \
13 file://gpsd.socket \ 13 file://60-gpsd.rules \
14 file://gpsd.service \ 14"
15 file://60-gpsd.rules" 15SRC_URI[md5sum] = "c01353459faa68834309109d4e868460"
16SRC_URI[gpsd.md5sum] = "c01353459faa68834309109d4e868460" 16SRC_URI[sha256sum] = "79f7de9ead63c7f5d2c9a92e85b5f82e53323c4d451ef8e27ea265ac3ef9a70f"
17SRC_URI[gpsd.sha256sum] = "79f7de9ead63c7f5d2c9a92e85b5f82e53323c4d451ef8e27ea265ac3ef9a70f"
18 17
19inherit scons update-rc.d python-dir systemd 18inherit scons update-rc.d python-dir systemd
20 19
@@ -24,7 +23,6 @@ INITSCRIPT_PARAMS = "defaults 35"
24SYSTEMD_PACKAGES = "${PN}-systemd" 23SYSTEMD_PACKAGES = "${PN}-systemd"
25SYSTEMD_SERVICE = "${PN}.socket" 24SYSTEMD_SERVICE = "${PN}.socket"
26 25
27
28LDFLAGS += "-L${STAGING_LIBDIR} -lm" 26LDFLAGS += "-L${STAGING_LIBDIR} -lm"
29export STAGING_INCDIR 27export STAGING_INCDIR
30export STAGING_LIBDIR 28export STAGING_LIBDIR
@@ -66,13 +64,10 @@ do_install_append() {
66 install -m 0644 ${WORKDIR}/60-gpsd.rules ${D}/${sysconfdir}/udev/rules.d 64 install -m 0644 ${WORKDIR}/60-gpsd.rules ${D}/${sysconfdir}/udev/rules.d
67 install -d ${D}${base_libdir}/udev/ 65 install -d ${D}${base_libdir}/udev/
68 install -m 0755 ${S}/gpsd.hotplug ${D}${base_libdir}/udev/ 66 install -m 0755 ${S}/gpsd.hotplug ${D}${base_libdir}/udev/
69 install -d ${D}${base_libdir}/udev/
70 67
71 #support for python 68 #support for python
72 install -d ${D}/${PYTHON_SITEPACKAGES_DIR}/gps 69 install -d ${D}/${PYTHON_SITEPACKAGES_DIR}/gps
73 for f in ${S}/gps/* ;do 70 install -m 755 ${S}/gps/*.py ${D}/${PYTHON_SITEPACKAGES_DIR}/gps
74 install $f ${D}/${PYTHON_SITEPACKAGES_DIR}/gps
75 done
76} 71}
77 72
78pkg_postinst_${PN}-conf() { 73pkg_postinst_${PN}-conf() {
@@ -80,11 +75,13 @@ pkg_postinst_${PN}-conf() {
80} 75}
81 76
82pkg_postrm_${PN}-conf() { 77pkg_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" 81PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils"
87 82
83FILES_gpsd-dev += "${libdir}/pkgconfdir/libgpsd.pc ${libdir}/pkgconfdir/libgps.pc"
84
88FILES_python-pygps-dbg += " ${libdir}/python*/site-packages/gps/.debug" 85FILES_python-pygps-dbg += " ${libdir}/python*/site-packages/gps/.debug"
89 86
90RDEPENDS_${PN} = "gpsd-gpsctl" 87RDEPENDS_${PN} = "gpsd-gpsctl"