blob: 7e9f214126806bdfa824beee8d13dc67f3ec1c40 [file] [log] [blame]
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +05301# Copyright (C) 2017 Armin Kuster <akuster808@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMARRY = "OE SCAP files"
5LIC_FILES_CHKSUM = "file://README.md;md5=46dec9f167b6e05986cb4023df6d92f4"
6LICENSE = "MIT"
7
8SRCREV = "7147871d7f37d408c0dd7720ef0fd3ec1b54ad98"
Patrick Williams53961c22022-01-20 11:06:23 -06009SRC_URI = "git://github.com/akuster/oe-scap.git;branch=master;protocol=https"
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053010SRC_URI += " \
Brad Bishop19323692019-04-05 15:28:33 -040011 file://run_cve.sh \
12 file://run_test.sh \
13 file://OpenEmbedded_nodistro_0.xml \
14 file://OpenEmbedded_nodistro_0.xccdf.xml \
15 "
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053016
17S = "${WORKDIR}/git"
18
19do_configure[noexec] = "1"
20do_compile[noexec] = "1"
21
22do_install () {
23 install -d ${D}/${datadir}/oe-scap
24 install ${WORKDIR}/run_cve.sh ${D}/${datadir}/oe-scap/.
25 install ${WORKDIR}/run_test.sh ${D}/${datadir}/oe-scap/.
26 install ${WORKDIR}/OpenEmbedded_nodistro_0.xml ${D}/${datadir}/oe-scap/.
27 install ${WORKDIR}/OpenEmbedded_nodistro_0.xccdf.xml ${D}/${datadir}/oe-scap/.
28 cp ${S}/* ${D}/${datadir}/oe-scap/.
29}
30
Patrick Williams213cb262021-08-07 19:21:33 -050031FILES:${PN} += "${datadir}/oe-scap"
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053032
Patrick Williams213cb262021-08-07 19:21:33 -050033RDEPENDS:${PN} = "openscap bash"