summaryrefslogtreecommitdiff
path: root/packages/roadmap/roadmap-gtk2.inc
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-01-10 09:03:03 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-01-10 09:03:03 +0000
commitab154a507cd0cabf84f4822026075f22b35906a4 (patch)
tree43d989b64d678e550817b3264a988e7a737e2553 /packages/roadmap/roadmap-gtk2.inc
parent9e94f8715c6181213dd7589632598e2a1592e759 (diff)
roadmap: fix roadmap-gtk2, drop 1.0.12.
* fix roadmap-gtk2 build and packaging (use Makefile supplied by upstream) * fix building gtk2 with agg support Courtesy of Joshua * drop 1.0.12: old (2002 map), not upwards compatible, buggy, messy to patch, * not working originally and nobody uses it anyway. * TODO: fix packaging of zroadmap (same as above), further unification of recipies
Diffstat (limited to 'packages/roadmap/roadmap-gtk2.inc')
-rw-r--r--packages/roadmap/roadmap-gtk2.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/roadmap/roadmap-gtk2.inc b/packages/roadmap/roadmap-gtk2.inc
new file mode 100644
index 0000000000..f64ad8dbfa
--- /dev/null
+++ b/packages/roadmap/roadmap-gtk2.inc
@@ -0,0 +1,24 @@
+require roadmap.inc
+
+SECTION = "x11/applications"
+
+DEPENDS = "agg expat gtk+"
+
+EXTRA_OEMAKE= "DESKTOP=GTK2 AGG=rgb565 \
+ POPT=NO SCRIPTS= BUILD= \
+ INSTALLDIR=/usr DESTDIR=${D}"
+
+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"