wok-6.x annotate reaver/receipt @ rev 20017
Up reaver (1.6.1) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 11 16:57:23 2017 +0200 (2017-08-11) |
parents | d4b5aa4ee51c |
children | 86e99f475c87 |
rev | line source |
---|---|
pascal@13609 | 1 # SliTaz package receipt. |
pascal@13609 | 2 |
pascal@13609 | 3 PACKAGE="reaver" |
pascal@20015 | 4 VERSION="1.6.1" |
pascal@13609 | 5 CATEGORY="network" |
pascal@13609 | 6 SHORT_DESC="Brute force attack against Wifi Protected Setup." |
pascal@13609 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15600 | 8 LICENSE="GPL2" |
pascal@20015 | 9 WEB_SITE="https://github.com/t6x/reaver-wps-fork-t6x" |
pascal@20015 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@20015 | 11 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL" |
pascal@13609 | 12 |
pascal@20017 | 13 DEPENDS="libpcap" |
pascal@20017 | 14 BUILD_DEPENDS="libpcap-dev" |
pascal@13609 | 15 |
pascal@13609 | 16 # Rules to configure and make the package. |
pascal@13609 | 17 compile_rules() |
pascal@13609 | 18 { |
pascal@13609 | 19 cd $src/src |
pascal@20017 | 20 ./configure --prefix=/usr --localstatedir=/var $CONFIGURE_ARGS && |
pascal@20015 | 21 make && make cleanbin |
pascal@13609 | 22 } |
pascal@13609 | 23 |
pascal@13609 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13609 | 25 genpkg_rules() |
pascal@13609 | 26 { |
pascal@20017 | 27 mkdir -p $fs/var/lib/reaver $fs/usr/bin |
pascal@20015 | 28 mkdir -p $install/usr/share/doc $install/usr/share/man |
pascal@20016 | 29 cp -a $src/src/wash $fs/usr/bin |
pascal@20016 | 30 cp -a $src/src/reaver $fs/usr/bin |
pascal@20015 | 31 cp -a $src/README.md $src/docs/* $install/usr/share/doc |
pascal@20015 | 32 mv $install/usr/share/doc/reaver.1.gz $install/usr/share/man |
pascal@13609 | 33 } |