2 # Contributor: nofxx <x@nofxx.com>
3 pkgname=kismet-log-viewer
6 pkgdesc="KLV takes Kismet .xml log files and produces a nicely formatted html interface to browse the logs with."
8 url="http://www.mindflip.org/klv"
10 depends=('perl' 'perl-libxml')
14 source=(http://www.mindflip.org/klv/$pkgname-$pkgver.tar.gz)
15 md5sums=('d9d878690e807477a918b2292946993f')
18 cd $startdir/src/$pkgname-$pkgver
21 # http://kismetwireless.net/Forum/General/Messages/1158427772.6155391
22 # 'http://kismetwireless.net/code/klc_dutch_08-2006-R2.pl'
23 install -m 755 -D $startdir/klc_dutch_08-2006-R2.pl $startdir/pkg/usr/share/klv/klc.pl || return 1
25 #install -m 755 -D klc.pl $startdir/pkg/usr/share/klv || return 1
26 install -m 755 -D klv.pl $startdir/pkg/usr/share/klv || return 1
27 install -m 755 -D logo.png $startdir/pkg/usr/share/klv || return 1
28 install -m 644 -D ap_manuf $startdir/pkg/usr/share/klv || return 1
29 install -m 644 -D client_manuf $startdir/pkg/usr/share/klv || return 1
31 msg "Executables will be 'klv' and 'klc'..."
32 mkdir $startdir/pkg/usr/bin
33 ln -s /usr/share/klv/klv.pl $startdir/pkg/usr/bin/klv || return 1
34 ln -s /usr/share/klv/klc.pl $startdir/pkg/usr/bin/klc || return 1