/[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.4 - (hide annotations) (download)
Tue Dec 25 13:40:33 2012 UTC (7 years, 7 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Drop masked for removal package

1 vapier 1.3 # Copyright 1999-2012 Gentoo Foundation
2 vanquirius 1.1 # Distributed under the terms of the GNU General Public License v2
3 pacho 1.4 # $Header: /var/cvsroot/gentoo-x86/net-wireless/wifiscanner/wifiscanner-1.0.1-r2.ebuild,v 1.3 2012/01/14 05:28:15 vapier Exp $
4 vapier 1.3
5     EAPI="4"
6    
7     inherit autotools
8 vanquirius 1.1
9     MY_P=WifiScanner-${PV}
10 vapier 1.3 DESCRIPTION="analyzer and detector of 802.11b stations and access points"
11 vanquirius 1.1 HOMEPAGE="http://wifiscanner.sourceforge.net/"
12     SRC_URI="mirror://sourceforge/wifiscanner/${MY_P}.tar.gz"
13    
14     LICENSE="GPL-2"
15     SLOT="0"
16     KEYWORDS="~amd64 ~ppc ~x86"
17 vapier 1.3 IUSE="ncurses wireshark"
18    
19 vanquirius 1.1 RDEPEND="wireshark? ( net-analyzer/wireshark )
20     ncurses? ( sys-libs/ncurses )
21 ssuominen 1.2 net-libs/libpcap
22 vanquirius 1.1 dev-libs/glib"
23     DEPEND="${RDEPEND}"
24    
25 vapier 1.3 S=${WORKDIR}/${MY_P}
26    
27     src_prepare() {
28     sed -i \
29     -e '/^gentoo_ltmain_version=/s|:space:|[:space:]|g' \
30     $(find -name configure) || die #349770
31     }
32    
33     src_configure() {
34 vanquirius 1.1 econf \
35     $(use_enable ncurses curses) \
36     $(use_enable wireshark wtap) \
37     --without-internal-wiretap \
38 vapier 1.3 --with-wtap_path=/usr/include/wiretap
39 vanquirius 1.1 }
40    
41 vapier 1.3 src_install() {
42     default
43     dodoc BUG-REPORT-ADDRESS
44 vanquirius 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20