# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

DESCRIPTION="A NSE vulnerability scanner which uses an offline version of different vulnerability databases"
HOMEPAGE="http://www.scip.ch/"
SRC_URI="http://www.computec.ch/projekte/vulscan/download/nmap_nse_vulscan-${PV}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 arm"

DEPEND=""
RDEPEND="|| ( net-analyzer/nmap[nse] net-analyzer/nmap[lua] )"

S="${WORKDIR}"

src_install() {
	insinto /usr/share/nmap/scripts
	doins -r * || die "install failed"
}