# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ MY_P="Nessus-${PV}-fc4" # We are using Fedora Core 4's rpm DESCRIPTION="A remote security scanner for Linux" HOMEPAGE="http://nessus.org" SRC_URI="${MY_P}.i386.rpm" RESTRICT="nomirror fetch" LICENSE="Nessus-EULA" SLOT="0" KEYWORDS="-* ~x86" IUSE="" RDEPEND="!net-analyzer/nessus-libraries !net-analyzer/libnasl !net-analyzer/nessus-core !net-analyzer/nessus-plugins" DEPEND="${RDEPEND} app-arch/rpm2targz" pkg_nofetch() { einfo "Please download ${MY_P}.i386.rpm from ${HOMEPAGE}/download" einfo "The archive should then be placed into ${DISTDIR}." } src_unpack() { rpm2targz "${DISTDIR}"/${MY_P}.i386.rpm tar zxf "${WORKDIR}"/${MY_P}.i386.tar.gz } src_compile() { einfo "Nothing to compile." } src_install() { mv "${WORKDIR}"/opt "${D}" } pkg_postinst() { einfo "For more information about nessus, please visit" einfo "${HOMEPAGE}/documentation/" }