wok view reaver/receipt @ rev 20243

linux-api-headers, linux-uml: fix KBASEVER
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 14:32:23 2018 +0100 (2018-03-10)
parents 4a5e07d7fa51
children 04d1b86ab08a
line source
1 # SliTaz package receipt.
3 PACKAGE="reaver"
4 VERSION="1.6.1"
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="https://github.com/t6x/reaver-wps-fork-t6x"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
13 DEPENDS="libpcap aircrack-ng pixiewps"
14 BUILD_DEPENDS="libpcap-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/src
20 ./configure --prefix=/usr --localstatedir=/var $CONFIGURE_ARGS &&
21 make && make cleanbin
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/var/lib/reaver $fs/usr/bin
28 mkdir -p $install/usr/share/doc $install/usr/share/man
29 cp -a $src/src/wash $fs/usr/bin
30 cp -a $src/src/reaver $fs/usr/bin
31 cp -a $src/README.md $src/docs/* $install/usr/share/doc
32 mv $install/usr/share/doc/reaver.1.gz $install/usr/share/man
33 }