summaryrefslogtreecommitdiff
path: root/packages/openmoko-projects/diversity-maps.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openmoko-projects/diversity-maps.inc')
-rw-r--r--packages/openmoko-projects/diversity-maps.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/openmoko-projects/diversity-maps.inc b/packages/openmoko-projects/diversity-maps.inc
new file mode 100644
index 0000000000..9af5e95d95
--- /dev/null
+++ b/packages/openmoko-projects/diversity-maps.inc
@@ -0,0 +1,18 @@
+DESCRIPTION = "Diversity Maps - ${MAP_NAME}"
+HOMEPAGE = "http://diversity.projects.openmoko.org/"
+SECTION = "network/misc"
+LICENSE = "Creative Commons Attribution-ShareAlike 2.0"
+
+SRC_URI = "http://people.openmoko.org/olv/diversity/${MAP_VER}/${MAP_FN}"
+
+MAP_DIR = "${datadir}/diversity-nav/maps"
+FILES_${PN} = "${MAP_DIR}/${MAP_FN}"
+
+PACKAGES = "${PN}"
+PACKAGE_ARCH = "all"
+PKG_TAGS_${PN} = "group::maps"
+
+do_install() {
+ install -d ${D}${MAP_DIR}
+ cp -f ${WORKDIR}/${MAP_FN} ${D}${MAP_DIR}
+}