/[gentoo-x86]/net-analyzer/fe3d/fe3d-0.11.2.ebuild
Gentoo

Contents of /net-analyzer/fe3d/fe3d-0.11.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Nov 1 15:35:20 2010 UTC (3 years, 11 months ago) by fauli
Branch: MAIN
Changes since 1.5: +2 -2 lines
stable x86, bug 342935
(Portage version: 2.1.8.3/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/fe3d/fe3d-0.11.2.ebuild,v 1.5 2010/10/29 10:15:47 hwoarang Exp $
4
5 EAPI=2
6 WX_GTK_VER="2.8"
7 inherit autotools eutils wxwidgets
8
9 if [[ "${PV}" =~ (_p)([0-9]+) ]] ; then
10 inherit subversion
11 SRC_URI=""
12 FE3D_REV=${BASH_REMATCH[2]}
13 ESVN_REPO_URI="http://svn.icapsid.net/fe3d/fe3d/branches/fe3d_0.11/@${FE3D_REV}"
14 else
15 SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}-src.tar.bz2"
16 fi
17
18 DESCRIPTION="A 3D visualization tool for network security information"
19 HOMEPAGE="http://projects.icapsid.net/fe3d/"
20
21 LICENSE="GPL-2"
22 SLOT="0"
23 KEYWORDS="~alpha amd64 x86"
24 IUSE=""
25
26 RDEPEND="x11-libs/wxGTK:2.8
27 >=dev-libs/xerces-c-2.7
28 net-analyzer/nmap"
29 DEPEND="${RDEPEND}"
30
31 S=${WORKDIR}/${PN}_${PV}
32
33 pkg_setup() {
34 check_wxuse opengl
35 }
36
37 src_prepare() {
38 epatch "${FILESDIR}"/${P}-asneeded.patch \
39 "${FILESDIR}"/${P}-coreutils.patch
40 eautoreconf
41 }
42
43 src_install() {
44 emake DESTDIR="${D}" install || die
45 dodoc AUTHORS doc/{ChangeLog,README}.txt
46 }
47
48 pkg_postinst() {
49 ewarn "This package has known issues:"
50 ewarn "1. The radius of the geometry nodes is wrong, causing overlap"
51 ewarn "2. Earth (and other) textures are upside down"
52 ewarn "3. This package contains some minor memory leaks"
53 echo
54 elog "Example using a nmap log:"
55 elog "/usr/bin/nmap -oX test.xml -O --osscan_limit 192.168.0.0/24"
56 elog "/usr/bin/fe3d test.xml"
57 }

  ViewVC Help
Powered by ViewVC 1.1.20