# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 inherit cmake-utils flag-o-matic DL_ID=2397 DESCRIPTION="A remote security scanner for Linux (OpenVAS-cli)" HOMEPAGE="http://www.openvas.org/" SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="~amd64 ~arm ~ppc ~x86" IUSE="" RDEPEND=" >=net-analyzer/openvas-libraries-9.0.2 !net-analyzer/openvas-client" DEPEND="${RDEPEND} virtual/pkgconfig" S="${WORKDIR}/"${P} src_configure() { append-cppflags -U_FORTIFY_SOURCE local mycmakeargs=( -DLOCALSTATEDIR="${EPREFIX}"/var -DSYSCONFDIR="${EPREFIX}"/etc ) cmake-utils_src_configure }