summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/navigation/navigation-maps.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo-hmi/navigation/navigation-maps.inc')
-rwxr-xr-xrecipes-demo-hmi/navigation/navigation-maps.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-demo-hmi/navigation/navigation-maps.inc b/recipes-demo-hmi/navigation/navigation-maps.inc
new file mode 100755
index 000000000..49b7ab496
--- /dev/null
+++ b/recipes-demo-hmi/navigation/navigation-maps.inc
@@ -0,0 +1,14 @@
+DEPENDS = "tar-native"
+
+SRC_URI_append = ";downloadfilename=${BP}.tar.gz;unpack=0"
+
+do_compile[noexec] = "1"
+
+do_install () {
+ install -d ${D}${localstatedir}/mapdata
+ tar -C ${D}${localstatedir}/mapdata --no-same-owner -xf ${WORKDIR}/${BP}.tar.gz
+}
+
+FILES_${PN} += "${localstatedir}/mapdata/*"
+
+RDEPENDS_${PN} += "navigation"