wok-6.x view reaver/receipt @ rev 22108

updated vim-tiny again (7.3 -> 8.1.2237)
author Hans-G?nter Theisgen
date Fri Nov 01 16:44:12 2019 +0100 (2019-11-01)
parents 86e99f475c87
children b630eaf326da
line source
1 # SliTaz package receipt.
3 PACKAGE="reaver"
4 VERSION="1.6.5"
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"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="aircrack-ng libpcap pixiewps"
15 BUILD_DEPENDS="libpcap-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/src
21 ./configure \
22 --prefix=/usr \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
27 # make cleanbin
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/var/lib/reaver
34 mkdir -p $fs/usr/bin
35 mkdir -p $install/usr/share/doc
36 mkdir -p $install/usr/share/man
38 cp -a $src/src/wash $fs/usr/bin
39 cp -a $src/src/reaver $fs/usr/bin
40 cp -a $src/README.md $install/usr/share/doc
41 cp -a $src/docs/* $install/usr/share/doc
42 mv $install/usr/share/doc/reaver.1 $install/usr/share/man
43 }