diff options
author | Florian Schmaus <flow@gentoo.org> | 2022-05-02 17:56:24 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-05-02 18:03:36 +0200 |
commit | bc34f32e7a99c24cf0737e438ce4e794fb7fd3d7 (patch) | |
tree | 90c0c6c6616e5a2abb56c24f1f6ea349a361dd5c /net-analyzer/openvas-scanner | |
parent | net-analyzer/gvm-libs: USE 'extras' → 'doc', swap LICENSE/SLOT order (diff) | |
download | gentoo-bc34f32e7a99c24cf0737e438ce4e794fb7fd3d7.tar.gz gentoo-bc34f32e7a99c24cf0737e438ce4e794fb7fd3d7.tar.bz2 gentoo-bc34f32e7a99c24cf0737e438ce4e794fb7fd3d7.zip |
net-analyzer/openvas-scanner: USE 'extras' → 'doc'
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'net-analyzer/openvas-scanner')
-rw-r--r-- | net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild (renamed from net-analyzer/openvas-scanner/openvas-scanner-21.4.4.ebuild) | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-21.4.4.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild index b6a8ac41cbbf..a8f5ef4aa4d3 100644 --- a/net-analyzer/openvas-scanner/openvas-scanner-21.4.4.ebuild +++ b/net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> $ SLOT="0" LICENSE="GPL-2 GPL-2+" KEYWORDS="~amd64 ~x86" -IUSE="cron extras snmp test" +IUSE="cron doc snmp test" RESTRICT="!test? ( test )" DEPEND=" @@ -41,7 +41,7 @@ BDEPEND=" sys-devel/bison sys-devel/flex virtual/pkgconfig - extras? ( + doc? ( app-doc/doxygen[dot] app-doc/xmltoman app-text/htmldoc @@ -62,7 +62,7 @@ src_prepare() { # QA-Fix | Correct FHS/Gentoo policy paths for 7.0.0 sed -i -e "s*/doc/openvas-scanner/*/doc/openvas-scanner-${PV}/*g" "${S}"/src/CMakeLists.txt || die # QA-Fix | Remove !CLANG doxygen warnings for 7.0.0 - if use extras; then + if use doc; then if ! tc-is-clang; then local f for f in doc/*.in @@ -93,7 +93,7 @@ src_configure() { src_compile() { cmake_src_compile - if use extras; then + if use doc; then cmake_build -C "${BUILD_DIR}" doc cmake_build doc-full -C "${BUILD_DIR}" doc fi @@ -104,7 +104,7 @@ src_compile() { } src_install() { - if use extras; then + if use doc; then local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. ) fi cmake_src_install |