diff options
author | Matthias Hentges <oe@hentges.net> | 2008-01-05 17:56:09 +0000 |
---|---|---|
committer | Matthias Hentges <oe@hentges.net> | 2008-01-05 17:56:09 +0000 |
commit | 742fb4ae71e6a7e655385086ba9edebbf00b6ebd (patch) | |
tree | ab9c54d1dc4020f54b13fdb6d630d206eff02e6e /packages/navit/navit.inc | |
parent | c8a8abcf0505228f0d50393e6e44a2dcea832b1a (diff) |
navit: Update .inc, include navit.launcher to enable the low-mem workaround on-demand.
Diffstat (limited to 'packages/navit/navit.inc')
-rw-r--r-- | packages/navit/navit.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/navit/navit.inc b/packages/navit/navit.inc index 3754e1580a..1d68027e17 100644 --- a/packages/navit/navit.inc +++ b/packages/navit/navit.inc @@ -9,3 +9,17 @@ PACKAGES = "${PN}-dbg ${PN}-dev ${PN} ${PN}-doc ${PN}-locale" FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug" FILES_${PN}-dev += "${libdir}/${PN}/*/*.so" + +SRC_URI_append = " \ + file://navit.launcher \ + " + +do_install_append() { + install -d ${D}/usr/share/applications/ + + install -m 0644 ${WORKDIR}/navit.desktop ${D}/usr/share/applications/ + + mv ${D}/usr/bin/navit ${D}/usr/bin/navit.real + + install -m 0755 ${WORKDIR}/navit.launcher ${D}/usr/bin/navit +} |