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