1 # Contributor: nofxx <x@nofxx.com>
5 pkgdesc="Wifitap is a proof of concept for communication over WiFi networks using traffic injection."
7 url="http://sid.rstack.org/index.php/Wifitap_EN"
9 depends=('python' 'scapy' 'psyco')
13 source=(http://sid.rstack.org/code/wifitap/$pkgname-$pkgver.tgz)
14 md5sums=('6b5a0ac62b308e48b7cfb9e249b231d9')
17 cd $startdir/src/$pkgname
18 install -d $startdir/pkg/usr/bin
19 for executable in *.py; do
20 install -Dm755 ${executable} ${startdir}/pkg/usr/share/${pkgname}/${executable} || return 1
22 for doc in AUTHORS COPYING PATCHING TODO prismheaders.patch BUGS Changelog README VERSION; do
23 install -Dm644 ${doc} ${startdir}/pkg/usr/share/${pkgname}/${doc} || return 1
25 ln -s /usr/share/${pkgname}/${pkgname}.py ${startdir}/pkg/usr/bin/${pkgname}
26 msg "Wifitap avaiable on '/usr/share/wifitap' and linked on '/usr/bin'"
27 msg "For PDF/Postcript support, install 'python-pyx' (~50Mb)."
28 msg "For gnuplot interface support, install 'gnuplot-py' from AUR."