X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Fsimple-can-simulator%2Fsimple-can-simulator.bb;h=947e0c6a558d6d0f29183b03286176a23c68c801;hb=refs%2Fheads%2Fnext;hp=bca448763e7fe67f8ef086fc45e4889d16a6f332;hpb=41591d4f8c586aa801220fac0924556f406c58bd;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/simple-can-simulator/simple-can-simulator.bb b/recipes-demo/simple-can-simulator/simple-can-simulator.bb index bca448763..76a81e04d 100644 --- a/recipes-demo/simple-can-simulator/simple-can-simulator.bb +++ b/recipes-demo/simple-can-simulator/simple-can-simulator.bb @@ -1,15 +1,18 @@ DESCRIPTION = "Simulator that generates CAN messages of a driving car" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" +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 ${WORKDIR}/simple_can_simulator.py ${D}${sbindir} + install -m 0755 ${UNPACKDIR}/simple_can_simulator.py ${D}${sbindir} } -RDEPENDS_${PN} = "python3" +RDEPENDS:${PN} = "python3"