wok annotate reaver/receipt @ rev 17560
Up: xterm 314
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Fri Feb 06 22:20:59 2015 +0000 (2015-02-06) |
parents | 837883e25e48 |
children | d1ac58163591 |
rev | line source |
---|---|
pascal@13609 | 1 # SliTaz package receipt. |
pascal@13609 | 2 |
pascal@13609 | 3 PACKAGE="reaver" |
pascal@13609 | 4 VERSION="1.4" |
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@13609 | 9 WEB_SITE="http://code.google.com/p/reaver-wps/" |
pascal@13609 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13609 | 11 WGET_URL="http://reaver-wps.googlecode.com/files/$TARBALL" |
pascal@13609 | 12 CONFIG_FILES="/etc/reaver" |
pascal@13609 | 13 |
pascal@13609 | 14 DEPENDS="libpcap libsqlite" |
pascal@13609 | 15 BUILD_DEPENDS="libpcap-dev sqlite-dev" |
pascal@13609 | 16 |
pascal@13609 | 17 # Rules to configure and make the package. |
pascal@13609 | 18 compile_rules() |
pascal@13609 | 19 { |
pascal@13609 | 20 cd $src/src |
pascal@13609 | 21 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS && |
pascal@13609 | 22 make && make cleanbin && { |
pascal@13609 | 23 mkdir -p $DESTDIR/etc/reaver $DESTDIR/usr/bin |
pascal@13609 | 24 cp reaver.db $DESTDIR/etc/reaver |
pascal@13609 | 25 cp wash reaver $DESTDIR/usr/bin |
pascal@13609 | 26 } |
pascal@13609 | 27 } |
pascal@13609 | 28 |
pascal@13609 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13609 | 30 genpkg_rules() |
pascal@13609 | 31 { |
pascal@13609 | 32 cp -a $install/* $fs |
pascal@13609 | 33 } |