summaryrefslogtreecommitdiff
path: root/packages/navit/navit.inc
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-02-01 07:06:31 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-02-01 07:06:31 +0000
commit7d6f5da1af7e6c040b3af18240d6c3efafe39e6e (patch)
tree41dc619e0419051ff7f63d5ff5ccca566bf7f18e /packages/navit/navit.inc
parent8676aae43b79aa4b52255dd60c11e5dd171bf7aa (diff)
navit: fix packaging, etc.
* replace hardcoded directory * package *.la to -dev * fix .desktop QA * add SECTION
Diffstat (limited to 'packages/navit/navit.inc')
-rw-r--r--packages/navit/navit.inc11
1 files changed, 6 insertions, 5 deletions
diff --git a/packages/navit/navit.inc b/packages/navit/navit.inc
index 06e3a72664..23e3f9b23d 100644
--- a/packages/navit/navit.inc
+++ b/packages/navit/navit.inc
@@ -1,5 +1,6 @@
DESCRIPTION = "Navit is a car navigation system with routing engine."
LICENSE = "GPL"
+SECTION = "x11/applications"
DEPENDS = "glib-2.0 gtk+"
RRECOMMENDS = "gpsd speechd flite"
@@ -10,7 +11,7 @@ EXTRA_OECONF = "--disable-binding-python --disable-gui-sdl --disable-samplemap -
PACKAGES = "${PN}-dbg ${PN}-dev ${PN} ${PN}-doc ${PN}-locale"
FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug"
-FILES_${PN}-dev += "${libdir}/${PN}/*/*.so"
+FILES_${PN}-dev += "${libdir}/${PN}/*/*.so ${libdir}/${PN}/*/*.la"
SRC_URI_append = " \
file://navit.xml-so.patch;patch=1 \
@@ -19,9 +20,9 @@ SRC_URI_append = " \
"
do_install_append() {
- install -d ${D}/usr/share/applications/
- install -m 0644 ${WORKDIR}/navit.desktop ${D}/usr/share/applications/
+ install -d ${D}${datadir}/applications/
+ install -m 0644 ${WORKDIR}/navit.desktop ${D}${datadir}/applications/
- mv ${D}/usr/bin/navit ${D}/usr/bin/navit.real
- install -m 0755 ${WORKDIR}/navit.launcher ${D}/usr/bin/navit
+ mv ${D}${bindir}/navit ${D}${bindir}/navit.real
+ install -m 0755 ${WORKDIR}/navit.launcher ${D}${bindir}/navit
}