blob: e84ed30f85fd6e14a2719b9bac731f9db3e5fa15 [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"
9SRC_URI = "git://github.com/akuster/oe-scap.git"
10SRC_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
31FILES_${PN} += "${datadir}/oe-scap"
32
33RDEPENDS_${PN} = "openscap"