summaryrefslogtreecommitdiff
path: root/packages/roadmap/roadmap-gtk2.inc
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-01-13 04:44:03 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-01-13 04:44:03 +0000
commit7bb6e2b9b70ed80ef84d07abe7d467cc88a9fd9c (patch)
tree8d5842177e3c0cee47bde38695f018c8e82b90c4 /packages/roadmap/roadmap-gtk2.inc
parenta7870a0693810b056e0e2ef4a187b43cd6de7733 (diff)
roadmap: fix zroadmap, unify with roadmap-gtk2.
* roadmap_path.patch: fix hard coded default config/map path * not packing zroadgps icon/desktop as it can be launched in the roadmap (>1.1.0) program
Diffstat (limited to 'packages/roadmap/roadmap-gtk2.inc')
-rw-r--r--packages/roadmap/roadmap-gtk2.inc21
1 files changed, 4 insertions, 17 deletions
diff --git a/packages/roadmap/roadmap-gtk2.inc b/packages/roadmap/roadmap-gtk2.inc
index f64ad8dbfa..6d0db5099b 100644
--- a/packages/roadmap/roadmap-gtk2.inc
+++ b/packages/roadmap/roadmap-gtk2.inc
@@ -2,23 +2,10 @@ require roadmap.inc
SECTION = "x11/applications"
-DEPENDS = "agg expat gtk+"
+DEPENDS += "agg gtk+"
-EXTRA_OEMAKE= "DESKTOP=GTK2 AGG=rgb565 \
- POPT=NO SCRIPTS= BUILD= \
- INSTALLDIR=/usr DESTDIR=${D}"
+EXTRA_OEMAKE = "DESKTOP=GTK2 AGG=rgb565 \
+ POPT=NO SCRIPTS= BUILD= INSTALLDIR=/usr DESTDIR=${D} \
+ desktopdir=${D}${datadir}/applications"
CFLAGS += " -I${STAGING_INCDIR}/agg2 "
-
-do_compile() {
- oe_runmake runtime $(TOOLS) icons
-}
-
-do_install() {
- oe_runmake install
- mv ${D}/usr/applications ${D}/usr/share/
-
- install -m 0644 ${WORKDIR}/usdir.rdm ${D}${datadir}/roadmap/
-}
-
-FILES_${PN} += "${datadir}/roadmap"