wok-next view cowpatty/receipt @ rev 14006
get-wifi-firmware, phpvirtualbox: fix chroot in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 17 18:16:25 2013 +0100 (2013-02-17) |
parents | 083fdd98c8b0 |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="cowpatty"
4 VERSION="4.6"
5 CATEGORY="network"
6 SHORT_DESC="Wireless WPA/WPA2 PSK handshake cracking utility."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="openssl libpcap"
9 BUILD_DEPENDS="openssl-dev libpcap-dev"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WEB_SITE="http://www.willhackforsushi.com/?page_id=50"
12 WGET_URL="http://www.willhackforsushi.com/code/$PACKAGE/$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make || return 1
19 make strip || return 1
20 make BINDIR="/usr/bin" DESTDIR="$PWD/_pkg/" install
21 install -D -m644 dict $PWD/_pkg/usr/share/cowpatty/dict
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/cowpatty $fs/usr/share
30 }