summaryrefslogtreecommitdiffstats
path: root/recipes-demo/simple-can-simulator/simple-can-simulator.bb
blob: 76a81e04da53a2974f36d20f7368fc39a880b51e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DESCRIPTION = "Simulator that generates CAN messages of a driving car"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/simple_can_simulator.py;beginline=2;endline=22;md5=9bb9c582301261d21460d2bc5bb8c225"

SRC_URI = "file://simple_can_simulator.py"

S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"

do_configure[noexec] = "1"
do_compile[noexec] = "1"

do_install() {
    install -d ${D}${sbindir}
    install -m 0755 ${UNPACKDIR}/simple_can_simulator.py ${D}${sbindir}
}

RDEPENDS:${PN} = "python3"