/[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.3 - (show annotations) (download)
Sat Jan 14 05:28:15 2012 UTC (8 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.2: +22 -12 lines
Update old grep style which fails with newer versions #349770 by Diego Elio Pettenò.  Also clean up and move to newer EAPI in the process.

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

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.2 2011/04/02 12:49:04 ssuominen 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