diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-01 14:47:37 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-01 14:50:45 +0100 |
commit | 49611aa58c65f16f3252421baf3bf548a5ae02a7 (patch) | |
tree | 276acf6831345cdb6ed0209987625e00613e18b0 /net-analyzer/gvm-libs | |
parent | acct-user/geneweb: remove default shell (diff) | |
download | gentoo-49611aa58c65f16f3252421baf3bf548a5ae02a7.tar.gz gentoo-49611aa58c65f16f3252421baf3bf548a5ae02a7.tar.bz2 gentoo-49611aa58c65f16f3252421baf3bf548a5ae02a7.zip |
net-analyzer: Switch hsntgm's packages to cmake.eclass
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-analyzer/gvm-libs')
-rw-r--r-- | net-analyzer/gvm-libs/gvm-libs-10.0.1.ebuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/net-analyzer/gvm-libs/gvm-libs-10.0.1.ebuild b/net-analyzer/gvm-libs/gvm-libs-10.0.1.ebuild index ba028e634f03..aa6cf0725a7c 100644 --- a/net-analyzer/gvm-libs/gvm-libs-10.0.1.ebuild +++ b/net-analyzer/gvm-libs/gvm-libs-10.0.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 CMAKE_MAKEFILE_GENERATOR="emake" -inherit cmake-utils flag-o-matic toolchain-funcs user +inherit cmake flag-o-matic toolchain-funcs user DESCRIPTION="Greenbone vulnerability management libraries, previously named openvas-libraries" HOMEPAGE="https://www.greenbone.net/en/" @@ -52,7 +52,7 @@ pkg_setup() { } src_prepare() { - cmake-utils_src_prepare + cmake_src_prepare # QA-Fix | Remove doxygen warnings for !CLANG if use extras; then if ! tc-is-clang; then @@ -79,21 +79,21 @@ src_configure() { # Add release hardening flags for 10.0.1 append-cflags -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fstack-protector append-ldflags -Wl,-z,relro -Wl,-z,now - cmake-utils_src_configure + cmake_src_configure } src_compile() { - cmake-utils_src_compile + cmake_src_compile if use extras; then - cmake-utils_src_make -C "${BUILD_DIR}" doc - cmake-utils_src_make doc-full -C "${BUILD_DIR}" doc + cmake_build -C "${BUILD_DIR}" doc + cmake_build doc-full -C "${BUILD_DIR}" doc HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. ) fi - cmake-utils_src_make rebuild_cache + cmake_build rebuild_cache } src_install() { - cmake-utils_src_install + cmake_src_install # Set proper permissions on required files/directories keepdir /var/lib/gvm |