summaryrefslogtreecommitdiff
blob: e70305d905a4c83e41c3e8984340100c603de97b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/airsnort/airsnort-0.2.7e.ebuild,v 1.8 2012/05/04 06:41:54 jdhore Exp $

DESCRIPTION="802.11b Wireless Packet Sniffer/WEP Cracker"
HOMEPAGE="http://airsnort.shmoo.com/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ppc x86"
IUSE=""

RDEPEND="=x11-libs/gtk+-2*
	net-libs/libpcap"
DEPEND="${RDEPEND}
	virtual/pkgconfig"

src_install() {
	make DESTDIR=${D} install || die "make install failed"
	dodoc README README.decrypt AUTHORS ChangeLog TODO faq.txt
}

pkg_postinst() {
	elog "Make sure to emerge linux-wlan-ng if you want support"
	elog "for Prism2 based cards in airsnort."

	elog "Make sure to emerge orinoco if you want support"
	elog "for Orinoco based cards in airsnort."
}