wok annotate reaver/receipt @ rev 13640

Up: efreet (1.7.1)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Nov 16 00:05:37 2012 +0100 (2012-11-16)
parents
children de49f29b101e
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@13609 8 WEB_SITE="http://code.google.com/p/reaver-wps/"
pascal@13609 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13609 10 WGET_URL="http://reaver-wps.googlecode.com/files/$TARBALL"
pascal@13609 11 CONFIG_FILES="/etc/reaver"
pascal@13609 12
pascal@13609 13 DEPENDS="libpcap libsqlite"
pascal@13609 14 BUILD_DEPENDS="libpcap-dev sqlite-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@13609 20 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
pascal@13609 21 make && make cleanbin && {
pascal@13609 22 mkdir -p $DESTDIR/etc/reaver $DESTDIR/usr/bin
pascal@13609 23 cp reaver.db $DESTDIR/etc/reaver
pascal@13609 24 cp wash reaver $DESTDIR/usr/bin
pascal@13609 25 }
pascal@13609 26 }
pascal@13609 27
pascal@13609 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13609 29 genpkg_rules()
pascal@13609 30 {
pascal@13609 31 cp -a $install/* $fs
pascal@13609 32 }