summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/navigation/navigation-maps.inc
blob: 49b7ab496c2c925a2ea90be51e2659902941226f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"