# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit cmake-utils git-r3 DESCRIPTION="SMB module for OpenVAS Scanner (openvas-wmiclient/openvas-wincmd)" HOMEPAGE="http://www.openvas.org/" SRC_URI="" EGIT_REPO_URI="https://github.com/greenbone/openvas-smb.git" EGIT_BRANCH="master" SLOT="0" LICENSE="GPL-2" KEYWORDS="~amd64 ~arm ~ppc ~x86" IUSE="" DEPEND=" sys-devel/crossdev dev-libs/popt dev-lang/perl app-crypt/heimdal =net-analyzer/openvas-libraries-9.0.3 " RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" src_configure() { local mycmakeargs=( "-DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr" "-DLOCALSTATEDIR="${EPREFIX}/var" "-DSYSCONFDIR="${EPREFIX}/etc" ) cmake-utils_src_configure } src_compile() { cmake-utils_src_compile } src_install() { cmake-utils_src_install }