wok-next annotate reaver/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 94ab15b469ab
children
rev   line source
al@19837 1 # SliTaz package receipt v2.
pascal@13609 2
pascal@13609 3 PACKAGE="reaver"
al@19837 4 VERSION="1.6.1"
pascal@13609 5 CATEGORY="network"
al@19837 6 SHORT_DESC="Brute force attack against WPS (Wi-Fi Protected Setup)"
pascal@13609 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15600 8 LICENSE="GPL2"
al@19837 9 WEB_SITE="https://github.com/t6x/reaver-wps-fork-t6x"
pascal@13609 10
al@19837 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19837 12 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
al@19837 13
al@19837 14 BUILD_DEPENDS="libpcap-dev"
pascal@13609 15
al@21020 16 compile_rules() {
pascal@13609 17 cd $src/src
al@21020 18
al@19837 19 ./configure \
al@19837 20 --localstatedir=/var \
al@19837 21 $CONFIGURE_ARGS &&
al@21020 22 make &&
al@21020 23 make install || return 1
al@19837 24
al@21020 25 cook_pick_docs $src/README.md $src/docs/README*
al@21020 26 cook_pick_manpages $src/docs/reaver.1.gz
pascal@13609 27 }
pascal@13609 28
al@21020 29 genpkg_rules() {
al@19837 30 copy @std var/
al@19837 31 DEPENDS="libpcap aircrack-ng pixiewps"
pascal@13609 32 }