mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-22 23:01:02 +02:00
37 lines
842 B
Bash
37 lines
842 B
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=3
|
|
|
|
inherit versionator eutils
|
|
|
|
MY_P=${P/_rc/.rc}
|
|
|
|
DESCRIPTION="A remote security scanner for Linux (openvas-libraries)"
|
|
HOMEPAGE="http://www.openvas.org/"
|
|
SRC_URI="http://wald.intevation.org/frs/download.php/753/${MY_P}.tar.gz"
|
|
|
|
SLOT="3"
|
|
LICENSE="GPL-2"
|
|
KEYWORDS="~amd64 ~ppc ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND=">=net-libs/gnutls-2.0
|
|
net-libs/libpcap
|
|
>=app-crypt/gpgme-1.1.2
|
|
>=dev-libs/glib-2.12
|
|
!net-analyzer/openvas-libnasl"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S=${WORKDIR}/${MY_P}
|
|
|
|
src_prepare() {
|
|
sed -i 's|cmake|cmake -DCMAKE_BUILD_TYPE=RELEASE|g' Makefile || die
|
|
}
|
|
|
|
src_install() {
|
|
DESTDIR="${D}" emake install || die "failed to install"
|
|
find "${D}" -name '*.la' -delete
|
|
dodoc ChangeLog CHANGES TODO || die
|
|
}
|