/[gentoo-x86]/net-analyzer/nessus-client/nessus-client-1.0.2-r1.ebuild
Gentoo

Contents of /net-analyzer/nessus-client/nessus-client-1.0.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri May 4 06:08:10 2012 UTC (2 years, 10 months ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-client/nessus-client-1.0.2-r1.ebuild,v 1.5 2011/03/28 21:19:11 radhermit Exp $
4
5 EAPI=2
6 inherit eutils toolchain-funcs
7
8 MY_PN=NessusClient
9 MY_P=${MY_PN}-${PV}
10
11 DESCRIPTION="A client for the Nessus vulnerability scanner"
12 HOMEPAGE="http://www.nessus.org/"
13 SRC_URI="mirror://gentoo/${MY_P}.tar.gz
14 mirror://gentoo/nessus-client.png.bz2"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="x86"
19 IUSE="doc"
20
21 RDEPEND="!net-analyzer/nessus-core
22 dev-libs/openssl
23 >=x11-libs/gtk+-2.8.8:2"
24 DEPEND="${RDEPEND}
25 virtual/pkgconfig
26 doc? ( app-text/htmldoc )"
27
28 S=${WORKDIR}/${MY_P}
29
30 src_prepare() {
31 epatch "${FILESDIR}"/${P}-make.patch
32 sed -i \
33 -e "/NESSUS_DOCDIR/s|/doc/NessusClient|/doc/${PF}|g" \
34 nessus.tmpl.in || die
35 }
36
37 src_configure() {
38 tc-export CC
39 econf
40 }
41
42 src_install() {
43 emake DESTDIR="${D}" install || die
44 dodoc CHANGES README_SSL VERSION
45
46 doicon "${WORKDIR}"/${PN}.png
47 make_desktop_entry NessusClient "Nessus Client" nessus-client "Network"
48 }
49
50 pkg_postinst() {
51 if ! use doc; then
52 elog "If you do not have documentation installed, nessus-client"
53 elog "will complain. To install documentation, please emerge with"
54 elog "the doc useflag set. Beware that it will emerge app-text/htmldoc,"
55 elog "a big package."
56 fi
57 }

  ViewVC Help
Powered by ViewVC 1.1.20