summaryrefslogtreecommitdiff
blob: 64d1d187c88fad0077282a3f613cddffc2eed582 (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-2004 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.5 2004/07/17 13:47:23 eldad Exp $

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

IUSE="doc"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc"
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

}