wok-next annotate cowpatty/receipt @ rev 15594
fcron: add bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 03 19:03:03 2013 +0000 (2013-12-03) |
parents | 18ed3d5d2389 |
children | d5e98d58b7d4 |
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" |
pascal@15000 | 8 LICENSE="GPL2" |
slaxemulator@7818 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
slaxemulator@7818 | 10 WEB_SITE="http://www.willhackforsushi.com/?page_id=50" |
slaxemulator@7818 | 11 WGET_URL="http://www.willhackforsushi.com/code/$PACKAGE/$VERSION/$TARBALL" |
slaxemulator@7818 | 12 |
pascal@15000 | 13 DEPENDS="openssl libpcap" |
pascal@15000 | 14 BUILD_DEPENDS="openssl-dev libpcap-dev" |
pascal@15000 | 15 |
slaxemulator@7818 | 16 # Rules to configure and make the package. |
slaxemulator@7818 | 17 compile_rules() |
slaxemulator@7818 | 18 { |
slaxemulator@7818 | 19 cd $src |
slaxemulator@7818 | 20 make || return 1 |
slaxemulator@7818 | 21 make strip || return 1 |
pascal@15000 | 22 make BINDIR="/usr/bin" DESTDIR="$DESTDIR" install |
pascal@15000 | 23 install -D -m644 dict $DESTDIR/usr/share/cowpatty/dict |
slaxemulator@7818 | 24 } |
slaxemulator@7818 | 25 |
slaxemulator@7818 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7818 | 27 genpkg_rules() |
slaxemulator@7818 | 28 { |
slaxemulator@9626 | 29 mkdir -p $fs/usr/share |
pascal@15000 | 30 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 31 cp -a $install/usr/share/cowpatty $fs/usr/share |
slaxemulator@7818 | 32 } |
slaxemulator@7818 | 33 |