blob: 6601b183ec182a4ec7a3156445b5a087d6d1c99f (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/wifiscanner/wifiscanner-1.0.1-r2.ebuild,v 1.1 2006/12/23 22:12:39 vanquirius Exp $
MY_P=WifiScanner-${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="WifiScanner is an analyzer and detector of 802.11b stations and access points."
HOMEPAGE="http://wifiscanner.sourceforge.net/"
SRC_URI="mirror://sourceforge/wifiscanner/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
IUSE="wireshark ncurses"
KEYWORDS="~amd64 ~ppc ~x86"
RDEPEND="wireshark? ( net-analyzer/wireshark )
ncurses? ( sys-libs/ncurses )
virtual/libpcap
dev-libs/glib"
DEPEND="${RDEPEND}"
src_compile () {
econf \
$(use_enable ncurses curses) \
$(use_enable wireshark wtap) \
--without-internal-wiretap \
--with-wtap_path=/usr/include/wiretap \
|| die "econf failed"
emake || die "emake failed"
}
src_install () {
emake install DESTDIR="${D}" || die
dodoc AUTHORS BUG-REPORT-ADDRESS ChangeLog FAQ NEWS THANKS TODO doc/*
}
|