/[gentoo-x86]/net-analyzer/nessus-libraries/nessus-libraries-2.2.9-r1.ebuild
Gentoo

Contents of /net-analyzer/nessus-libraries/nessus-libraries-2.2.9-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Jul 4 21:30:42 2013 UTC (5 years, 3 months ago) by ottxor
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
added ~amd64-linux (tested by me)

(Portage version: 2.2.0_alpha186/cvs/Linux x86_64, signed Manifest commit with key C2000586)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-libraries/nessus-libraries-2.2.9-r1.ebuild,v 1.2 2011/09/12 06:46:58 radhermit Exp $
4
5 EAPI=4
6
7 inherit eutils multilib toolchain-funcs
8
9 DESCRIPTION="A remote security scanner for Linux (nessus-libraries)"
10 HOMEPAGE="http://www.nessus.org/"
11 SRC_URI="ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux"
16 IUSE="crypt debug static-libs"
17
18 # Hard dep on SSL since libnasl won't compile when this package is emerged -ssl.
19 DEPEND="
20 dev-libs/openssl
21 net-libs/libpcap"
22 RDEPEND="${DEPEND}"
23
24 S="${WORKDIR}"/${PN}
25
26 src_prepare() {
27 epatch "${FILESDIR}"/${P}-linking.patch
28
29 sed -i -e "s:^\(LDFLAGS=\):\1 ${LDFLAGS}:g" nessus.tmpl.in || die
30 sed -i -e '/sbindir/d' Makefile || die
31 }
32
33 src_configure() {
34 tc-export CC
35 econf \
36 $(use_enable crypt cypher) \
37 $(use_enable debug) \
38 $(use_enable debug debug-ssl) \
39 $(use_enable static-libs static) \
40 --enable-shared \
41 --with-ssl="${EPREFIX}/usr/$(get_libdir)" \
42 --disable-nessuspcap
43 }
44
45 src_install() {
46 default
47 use static-libs || find "${ED}" -name '*.la' -delete
48 }

  ViewVC Help
Powered by ViewVC 1.1.20