summaryrefslogtreecommitdiff
blob: 055634702b2b6a1140e649d4f3f4500002dfecc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sonar/sonar-1.2.2-r1.ebuild,v 1.7 2007/07/02 14:41:27 peper Exp $

DESCRIPTION="network reconnaissance utility"
HOMEPAGE="http://autosec.sourceforge.net/"
SRC_URI="mirror://sourceforge/autosec/${PF}.tar.bz2"
RESTRICT="mirror"

IUSE="doc"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc ~sparc"
S=${WORKDIR}/${PF}

DEPEND="virtual/libc
	>=dev-libs/popt-1.7-r1
	virtual/tetex
	doc? ( >=app-doc/doxygen-1.3 )"

src_compile() {

	econf || die
	emake || die

}

src_install() {

	make install DESTDIR=${D} || die
	dodoc ChangeLog README AUTHORS CONTRIB NEWS
	use doc && dohtml doc/html/*
	rm -rf ${D}/usr/share/sonar

}