blob: 5b6137569eaed28d34d42cb8f502f2f01c4b71f5 [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 += " \
11 file://run_cve.sh \
12 file://run_test.sh \
13 file://OpenEmbedded_nodistro_0.xml \
14 file://OpenEmbedded_nodistro_0.xccdf.xml \
15"
16
17
18S = "${WORKDIR}/git"
19
20do_configure[noexec] = "1"
21do_compile[noexec] = "1"
22
23do_install () {
24 install -d ${D}/${datadir}/oe-scap
25 install ${WORKDIR}/run_cve.sh ${D}/${datadir}/oe-scap/.
26 install ${WORKDIR}/run_test.sh ${D}/${datadir}/oe-scap/.
27 install ${WORKDIR}/OpenEmbedded_nodistro_0.xml ${D}/${datadir}/oe-scap/.
28 install ${WORKDIR}/OpenEmbedded_nodistro_0.xccdf.xml ${D}/${datadir}/oe-scap/.
29 cp ${S}/* ${D}/${datadir}/oe-scap/.
30}
31
32FILES_${PN} += "${datadir}/oe-scap"
33
34RDEPENDS_${PN} = "openscap"