wok view reaver/receipt @ rev 19066

It works, but needs review and improvement. Thank you.
author Leonardo Laporte <hackdorte@sapo.pt>
date Thu Apr 21 06:32:59 2016 -0300 (2016-04-21)
parents 837883e25e48
children d1ac58163591
line source
1 # SliTaz package receipt.
3 PACKAGE="reaver"
4 VERSION="1.4"
5 CATEGORY="network"
6 SHORT_DESC="Brute force attack against Wifi Protected Setup."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://code.google.com/p/reaver-wps/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://reaver-wps.googlecode.com/files/$TARBALL"
12 CONFIG_FILES="/etc/reaver"
14 DEPENDS="libpcap libsqlite"
15 BUILD_DEPENDS="libpcap-dev sqlite-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/src
21 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
22 make && make cleanbin && {
23 mkdir -p $DESTDIR/etc/reaver $DESTDIR/usr/bin
24 cp reaver.db $DESTDIR/etc/reaver
25 cp wash reaver $DESTDIR/usr/bin
26 }
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }