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

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $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
5 EAPI="4"
6
7 inherit autotools
8
9 MY_P=WifiScanner-${PV}
10 DESCRIPTION="analyzer and detector of 802.11b stations and access points"
11 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 IUSE="ncurses wireshark"
18
19 RDEPEND="wireshark? ( net-analyzer/wireshark )
20 ncurses? ( sys-libs/ncurses )
21 net-libs/libpcap
22 dev-libs/glib"
23 DEPEND="${RDEPEND}"
24
25 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 econf \
35 $(use_enable ncurses curses) \
36 $(use_enable wireshark wtap) \
37 --without-internal-wiretap \
38 --with-wtap_path=/usr/include/wiretap
39 }
40
41 src_install() {
42 default
43 dodoc BUG-REPORT-ADDRESS
44 }

  ViewVC Help
Powered by ViewVC 1.1.20