wok-next view reaver/receipt @ rev 16583

Fix python-rpi-adafruit PACKAGE name
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 04 05:46:01 2014 +0200 (2014-05-04)
parents 837883e25e48
children 94ab15b469ab
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 }