wok-current view cowpatty/receipt @ rev 9223

Fix icedtea6; handle multi-sources using some new receipts
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 11 17:58:14 2011 +0100 (2011-03-11)
parents
children 18ed3d5d2389
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
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/cowpatty $fs/usr/share
30 }