aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/openmoko-projects/om-maps.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/openmoko-projects/om-maps.inc')
-rw-r--r--recipes/openmoko-projects/om-maps.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/openmoko-projects/om-maps.inc b/recipes/openmoko-projects/om-maps.inc
new file mode 100644
index 0000000000..1caba01faf
--- /dev/null
+++ b/recipes/openmoko-projects/om-maps.inc
@@ -0,0 +1,18 @@
+DESCRIPTION = "Map of ${MAP_NAME}, for use with Locations application. \
+ Data from OpenStreetMap.org, licenced CC-by-SA."
+HOMEPAGE = "http://wiki.openmoko.org/wiki/Om_2008.8_Locations"
+SECTION = "network/misc"
+LICENSE = "Creative Commons Attribution-ShareAlike 2.0"
+
+SRC_URI = "http://people.openmoko.org/olv/om-maps/${MAP_VER}/${MAP_FN}"
+
+MAP_DIR = "${datadir}/om-maps"
+FILES_${PN} = "${MAP_DIR}/${MAP_FN}"
+
+PACKAGES = "${PN}"
+PACKAGE_ARCH = "all"
+
+do_install() {
+ install -d ${D}${MAP_DIR}
+ cp -f ${WORKDIR}/${MAP_FN} ${D}${MAP_DIR}
+}