/[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.1 - (show annotations) (download)
Sat Dec 23 22:12:39 2006 UTC (13 years, 7 months ago) by vanquirius
Branch: MAIN
Patch ebuild to use wiretap library from wireshark, fix by Cedric Krier <cedk at gentoo dot org>. Fixes bug 146286, reported by Alexander Skwar <askwar at digitalprojects dot com>.
(Portage version: 2.1.1-r2)

1 # Copyright 1999-2006 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-r1.ebuild,v 1.2 2006/10/22 13:56:43 peper Exp $
4
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 virtual/libpcap
18 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