1 # Contributor: Asparagus Maximus <asparagus.maximus () gmail () com>
7 pkgdesc="802.11b sniffing software with aircrack-integration plugin"
10 depends=('gmp' 'imagemagick' 'libpcap>=1.0.0' 'ncurses' 'dbus' 'aircrack-ng')
11 optdepends=(perl-libwww)
12 url="http://www.kismetwireless.net/"
13 backup=('etc/kismet.conf' 'etc/kismet_drone.conf')
14 source=(http://www.kismetwireless.net/code/kismet-$_realver.tar.gz)
15 conflicts=('kismet' 'kismet-svn')
18 md5sums=('1fb1f024a7ca52814b255e2f2faccf3b')
21 cd $startdir/src/kismet-$_realver
23 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
26 sed -i 's/prism2/wlanng/g' conf/kismet.conf
27 make DESTDIR=$startdir/pkg install || return 1
30 KIS_SRC_DIR=$startdir/src/kismet-$_realver make ||return 1
31 KIS_SRC_DIR=$startdir/src/kismet-$_realver KIS_DEST_DIR=$startdir/pkg DESTDIR=$KIS_DEST_DIR make install || return 1