wok-next view reaver/receipt @ rev 14196

emacs-pkg-*-mode: genpkg return value
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 13 09:50:50 2013 +0100 (2013-03-13)
parents
children de49f29b101e
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 WEB_SITE="http://code.google.com/p/reaver-wps/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="http://reaver-wps.googlecode.com/files/$TARBALL"
11 CONFIG_FILES="/etc/reaver"
13 DEPENDS="libpcap libsqlite"
14 BUILD_DEPENDS="libpcap-dev sqlite-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/src
20 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
21 make && make cleanbin && {
22 mkdir -p $DESTDIR/etc/reaver $DESTDIR/usr/bin
23 cp reaver.db $DESTDIR/etc/reaver
24 cp wash reaver $DESTDIR/usr/bin
25 }
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/* $fs
32 }