summaryrefslogtreecommitdiff
blob: ea30ef7a3605ee6a4cf569bc306672f03e55b1cb (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
# $Id$

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."
}