/[gentoo-x86]/net-wireless/wifiscanner/wifiscanner-1.0.1-r2.ebuild
Gentoo

Contents of /net-wireless/wifiscanner/wifiscanner-1.0.1-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sat Apr 2 12:49:04 2011 UTC (9 years, 4 months ago) by ssuominen
Branch: MAIN
Changes since 1.1: +3 -3 lines
Use net-libs/libpcap instead of virtual/libpcap wrt #358835.

(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)

1 ssuominen 1.2 # Copyright 1999-2011 Gentoo Foundation
2 vanquirius 1.1 # Distributed under the terms of the GNU General Public License v2
3 ssuominen 1.2 # $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 $
4 vanquirius 1.1
5     MY_P=WifiScanner-${PV}
6     S=${WORKDIR}/${MY_P}
7     DESCRIPTION="WifiScanner is an analyzer and detector of 802.11b stations and access points."
8     HOMEPAGE="http://wifiscanner.sourceforge.net/"
9     SRC_URI="mirror://sourceforge/wifiscanner/${MY_P}.tar.gz"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13     IUSE="wireshark ncurses"
14     KEYWORDS="~amd64 ~ppc ~x86"
15     RDEPEND="wireshark? ( net-analyzer/wireshark )
16     ncurses? ( sys-libs/ncurses )
17 ssuominen 1.2 net-libs/libpcap
18 vanquirius 1.1 dev-libs/glib"
19     DEPEND="${RDEPEND}"
20    
21     src_compile () {
22     econf \
23     $(use_enable ncurses curses) \
24     $(use_enable wireshark wtap) \
25     --without-internal-wiretap \
26     --with-wtap_path=/usr/include/wiretap \
27     || die "econf failed"
28     emake || die "emake failed"
29     }
30    
31     src_install () {
32     emake install DESTDIR="${D}" || die
33     dodoc AUTHORS BUG-REPORT-ADDRESS ChangeLog FAQ NEWS THANKS TODO doc/*
34     }

  ViewVC Help
Powered by ViewVC 1.1.20