diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-04-23 18:37:49 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-04-29 23:29:33 +0200 |
commit | 054be7129a1fb427cde94be2c3044f25e359f6bc (patch) | |
tree | e53b36342da77c1f28c14c040fc8a8a14eb6e132 /meta-oe/recipes-navigation | |
parent | f1be53fd686a78f1035bc14133e4aa21e12642d2 (diff) | |
download | meta-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.bb | 29 |
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" | |||
5 | DEPENDS = "dbus dbus-glib ncurses python libusb1" | 5 | DEPENDS = "dbus dbus-glib ncurses python libusb1" |
6 | PROVIDES = "virtual/gpsd" | 6 | PROVIDES = "virtual/gpsd" |
7 | 7 | ||
8 | PR = "r0" | 8 | SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ |
9 | 9 | file://gpsd-default \ | |
10 | SRC_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" | 15 | SRC_URI[md5sum] = "c01353459faa68834309109d4e868460" |
16 | SRC_URI[gpsd.md5sum] = "c01353459faa68834309109d4e868460" | 16 | SRC_URI[sha256sum] = "79f7de9ead63c7f5d2c9a92e85b5f82e53323c4d451ef8e27ea265ac3ef9a70f" |
17 | SRC_URI[gpsd.sha256sum] = "79f7de9ead63c7f5d2c9a92e85b5f82e53323c4d451ef8e27ea265ac3ef9a70f" | ||
18 | 17 | ||
19 | inherit scons update-rc.d python-dir systemd | 18 | inherit scons update-rc.d python-dir systemd |
20 | 19 | ||
@@ -24,7 +23,6 @@ INITSCRIPT_PARAMS = "defaults 35" | |||
24 | SYSTEMD_PACKAGES = "${PN}-systemd" | 23 | SYSTEMD_PACKAGES = "${PN}-systemd" |
25 | SYSTEMD_SERVICE = "${PN}.socket" | 24 | SYSTEMD_SERVICE = "${PN}.socket" |
26 | 25 | ||
27 | |||
28 | LDFLAGS += "-L${STAGING_LIBDIR} -lm" | 26 | LDFLAGS += "-L${STAGING_LIBDIR} -lm" |
29 | export STAGING_INCDIR | 27 | export STAGING_INCDIR |
30 | export STAGING_LIBDIR | 28 | export 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 | ||
78 | pkg_postinst_${PN}-conf() { | 73 | pkg_postinst_${PN}-conf() { |
@@ -80,11 +75,13 @@ pkg_postinst_${PN}-conf() { | |||
80 | } | 75 | } |
81 | 76 | ||
82 | pkg_postrm_${PN}-conf() { | 77 | 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 | ||
86 | PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils" | 81 | PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils" |
87 | 82 | ||
83 | FILES_gpsd-dev += "${libdir}/pkgconfdir/libgpsd.pc ${libdir}/pkgconfdir/libgps.pc" | ||
84 | |||
88 | FILES_python-pygps-dbg += " ${libdir}/python*/site-packages/gps/.debug" | 85 | FILES_python-pygps-dbg += " ${libdir}/python*/site-packages/gps/.debug" |
89 | 86 | ||
90 | RDEPENDS_${PN} = "gpsd-gpsctl" | 87 | RDEPENDS_${PN} = "gpsd-gpsctl" |