Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 1 | # Copyright (C) 2017 Armin Kuster <akuster808@gmail.com> |
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | |
| 4 | SUMARRY = "OE SCAP files" |
| 5 | LIC_FILES_CHKSUM = "file://README.md;md5=46dec9f167b6e05986cb4023df6d92f4" |
| 6 | LICENSE = "MIT" |
| 7 | |
| 8 | SRCREV = "7147871d7f37d408c0dd7720ef0fd3ec1b54ad98" |
Patrick Williams | 53961c2 | 2022-01-20 11:06:23 -0600 | [diff] [blame] | 9 | SRC_URI = "git://github.com/akuster/oe-scap.git;branch=master;protocol=https" |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 10 | SRC_URI += " \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 11 | 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 Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 16 | |
| 17 | S = "${WORKDIR}/git" |
| 18 | |
| 19 | do_configure[noexec] = "1" |
| 20 | do_compile[noexec] = "1" |
| 21 | |
| 22 | do_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 Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 31 | FILES:${PN} += "${datadir}/oe-scap" |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 32 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 33 | RDEPENDS:${PN} = "openscap bash" |