blob: 341721a0695fb28a009f09445be5922b803827bc [file] [log] [blame]
Brad Bishop26bdd442019-08-16 17:08:17 -04001# Copyright (C) 2017 Armin Kuster <akuster808@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMARRY = "SCAP content for various platforms"
5HOME_URL = "https://www.open-scap.org/security-policies/scap-security-guide/"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=97662e4486d9a1d09f358851d9f41a1a"
7LICENSE = "LGPL-2.1"
8
9DEPENDS = "openscap-native python3 python3-pyyaml-native python3-jinja2-native libxml2-native"
10RDEPENDS_${PN} = "openscap"
11
12S = "${WORKDIR}/git"
13
14inherit cmake pkgconfig python3native
15
16#PARALLEL_MAKE = ""
17
18STAGING_OSCAP_BUILDDIR = "${TMPDIR}/work-shared/openscap/oscap-build-artifacts"
19
20OECMAKE_GENERATOR = "Unix Makefiles"
21
22EXTRA_OECMAKE += "-DENABLE_PYTHON_COVERAGE=OFF"
23
24B = "${S}/build"
25
26do_configure_prepend () {
27 sed -i -e 's:NAMES\ sed:NAMES\ ${HOSTTOOLS_DIR}/sed:g' ${S}/CMakeLists.txt
28 sed -i -e 's:NAMES\ grep:NAMES\ ${HOSTTOOLS_DIR}/grep:g' ${S}/CMakeLists.txt
29}
30
31FILES_${PN} += "${datadir}/xml"