wok-next annotate reaver/receipt @ rev 17815

Add xmlto
author Yuri Pourre <yuripourre@gmail.com>
date Sat Mar 21 12:56:32 2015 -0300 (2015-03-21)
parents 837883e25e48
children 94ab15b469ab
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 }