wok annotate reaver/receipt @ rev 20113
netsurf-sdl, qedit, mupdf : add desktop files
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Oct 12 11:08:12 2017 +0200 (2017-10-12) |
parents | 4a5e07d7fa51 |
children | 04d1b86ab08a |
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@20018 | 13 DEPENDS="libpcap aircrack-ng pixiewps" |
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 } |