# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="A remote security scanner for Linux" HOMEPAGE="http://www.openvas.org/" SRC_URI="http://wald.intevation.org/frs/download.php/802/${P}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="~amd64 ~x86" IUSE="gtk" RDEPEND="net-libs/gnutls net-libs/libpcap >=net-analyzer/openvas-libraries-3 gtk? ( x11-libs/gtk+ )" DEPEND="${RDEPEND} dev-util/cmake" src_configure() { econf $(use_enable gtk) } src_install() { emake install DESTDIR="${D}" || die dodoc ChangeLog README TODO || die if use gtk ; then make_desktop_entry OpenVAS-Client "OpenVAS Client" fi }