wok-6.x annotate cowpatty/receipt @ rev 8700
nagios: improve receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Feb 17 23:09:38 2011 +0100 (2011-02-17) |
parents | |
children | 18ed3d5d2389 |
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@7818 | 27 mkdir -p $fs/usr |
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 |