Patchwork [51/58] tangogps: fix doc instalation

login
register
mail settings
Submitter Martin Jansa
Date Dec. 4, 2012, 1:59 a.m.
Message ID <e2096cd36e37eb34f124fe05a71653df09e08c9d.1354586187.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/40209/
State Accepted
Commit f39ad60442386313bf3e4f243da0f1e7d36a4d8c
Headers show

Comments

Martin Jansa - Dec. 4, 2012, 1:59 a.m.
* incorectly installs doc to /usr/doc and isn't picked by FILES_
tangogps-0.99.4: tangogps: Files/directories were installed but not shipped
  /usr/doc
  /usr/doc/tangogps
  /usr/doc/tangogps/INSTALL
  /usr/doc/tangogps/NEWS
  /usr/doc/tangogps/TODO
  /usr/doc/tangogps/README
  /usr/doc/tangogps/ChangeLog
  /usr/doc/tangogps/AUTHORS
  /usr/doc/tangogps/COPYING

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-navigation/tangogps/tangogps_0.99.4.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Patch

diff --git a/meta-oe/recipes-navigation/tangogps/tangogps_0.99.4.bb b/meta-oe/recipes-navigation/tangogps/tangogps_0.99.4.bb
index 1fb7633..546abbc 100644
--- a/meta-oe/recipes-navigation/tangogps/tangogps_0.99.4.bb
+++ b/meta-oe/recipes-navigation/tangogps/tangogps_0.99.4.bb
@@ -5,7 +5,7 @@  SECTION = "x11/applications"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
 DEPENDS = "curl gtk+ sqlite3 libexif libsoup-2.4 bluez4"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "http://www.tangogps.org/downloads/${P}.tar.gz \
            file://remove.unused.header.patch \
@@ -17,3 +17,7 @@  SRC_URI[sha256sum] = "660fdf89ef3c379f2fc0c2a9d0c9d3bfa5345835786b72bf9f513ba9ec
 inherit autotools pkgconfig gconf
 
 RRECOMMENDS_${PN} = "gpsd"
+
+do_install_append() {
+	mv ${D}${prefix}/doc ${D}${datadir} || true
+}