1 # Maintainer: Bartosz Feński <fenio@debian.org>
5 pkgdesc="brute force attack tool against an access point's WiFi Protected Setup pin number"
7 url="http://code.google.com/p/reaver-wps/"
9 depends=('libpcap' 'sqlite3')
10 makedepends=('libpcap' 'sqlite3')
11 #install=$pkgname.install
12 source=(http://reaver-wps.googlecode.com/files/$pkgname-$pkgver.tar.gz)
13 md5sums=('6ec7dbb11b67e1b4a20f2ceba5f69547')
16 cd $srcdir/$pkgname-$pkgver/src
17 ./configure --prefix=/usr
22 mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/doc/reaver
23 install -dm755 $pkgdir/usr/bin
24 install -dm755 $pkgdir/usr/share/doc/reaver
25 install -dm755 $pkgdir/usr/share/man/man1
26 install -m755 $srcdir/$pkgname-$pkgver/src/reaver $pkgdir/usr/bin/
27 install -m755 $srcdir/$pkgname-$pkgver/src/walsh $pkgdir/usr/bin/
28 install -m644 $srcdir/$pkgname-$pkgver/docs/README $pkgdir/usr/share/doc/reaver/
29 install -m644 $srcdir/$pkgname-$pkgver/docs/reaver.1.gz $pkgdir/usr/share/man/man1/