/[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.8 - (show annotations) (download)
Fri Apr 3 05:42:40 2015 UTC (4 years, 9 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +9 -5 lines
Use wxwidgets.eclass (bug #544992 by Toralf Förster).

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2015 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.7 2013/02/01 15:05:24 jer Exp $
4
5 EAPI=5
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
25 DOCS=( AUTHORS doc/{ChangeLog,README}.txt )
26
27 RDEPEND="
28 >=dev-libs/xerces-c-2.7
29 net-analyzer/nmap
30 x11-libs/wxGTK:2.8[opengl]
31 "
32 DEPEND="${RDEPEND}"
33
34 S=${WORKDIR}/${PN}_${PV}
35
36 src_prepare() {
37 need-wxwidgets unicode
38
39 epatch \
40 "${FILESDIR}"/${P}-asneeded.patch \
41 "${FILESDIR}"/${P}-coreutils.patch
42
43 eautoreconf
44 }
45
46 pkg_postinst() {
47 ewarn "This package has known issues:"
48 ewarn "1. The radius of the geometry nodes is wrong, causing overlap"
49 ewarn "2. Earth (and other) textures are upside down"
50 ewarn "3. This package contains some minor memory leaks"
51 echo
52 elog "Example using a nmap log:"
53 elog "/usr/bin/nmap -oX test.xml -O --osscan_limit 192.168.0.0/24"
54 elog "/usr/bin/fe3d test.xml"
55 }

  ViewVC Help
Powered by ViewVC 1.1.20