/[gentoo-x86]/net-analyzer/yersinia/yersinia-0.7.1.ebuild
Gentoo

Contents of /net-analyzer/yersinia/yersinia-0.7.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri May 29 01:20:58 2009 UTC (5 years, 1 month ago) by beandog
Branch: MAIN
Changes since 1.3: +2 -2 lines
amd64 stable, bug 271107
(Portage version: 2.2_rc33/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/yersinia/yersinia-0.7.1.ebuild,v 1.3 2009/05/27 10:43:39 fauli Exp $
4
5 inherit eutils
6
7 DESCRIPTION="A layer 2 attack framework"
8 HOMEPAGE="http://www.yersinia.net/"
9 SRC_URI="http://www.yersinia.net/download/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 x86"
14 IUSE="gtk ncurses"
15
16 DEPEND="ncurses? ( >=sys-libs/ncurses-5.5 )
17 gtk? ( =x11-libs/gtk+-2* )
18 >=net-libs/libnet-1.1.2
19 >=net-libs/libpcap-0.9.4"
20 RDEPEND="${DEPEND}"
21
22 src_unpack() {
23 unpack ${A}
24 cd "${S}"
25 epatch "${FILESDIR}/${P}-no-ncurses.patch"
26 sed -e "s:^\(CFLAGS = \).*:\1${CFLAGS}:" -i src/Makefile.in
27 }
28
29 src_compile() {
30 econf \
31 --enable-admin \
32 --with-pcap-includes=/usr/include \
33 $(use_with ncurses) \
34 $(use_enable gtk)
35 emake || die "emake failed"
36 }
37
38 src_install() {
39 emake DESTDIR="${D}" install || die "emake install failed"
40 dodoc AUTHORS ChangeLog FAQ README THANKS TODO || die
41 }

  ViewVC Help
Powered by ViewVC 1.1.20