wok view reaver/receipt @ rev 15602
Use DESTDIR
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 05 20:42:36 2013 +0000 (2013-12-05) |
parents | 837883e25e48 |
children | d1ac58163591 |
line source
1 # SliTaz package receipt.
3 PACKAGE="reaver"
4 VERSION="1.4"
5 CATEGORY="network"
6 SHORT_DESC="Brute force attack against Wifi Protected Setup."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://code.google.com/p/reaver-wps/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://reaver-wps.googlecode.com/files/$TARBALL"
12 CONFIG_FILES="/etc/reaver"
14 DEPENDS="libpcap libsqlite"
15 BUILD_DEPENDS="libpcap-dev sqlite-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/src
21 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
22 make && make cleanbin && {
23 mkdir -p $DESTDIR/etc/reaver $DESTDIR/usr/bin
24 cp reaver.db $DESTDIR/etc/reaver
25 cp wash reaver $DESTDIR/usr/bin
26 }
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }