wok-6.x annotate cowpatty/receipt @ rev 20802

updated cowpatty (4.6 -> 4.8)
author Hans-G?nter Theisgen
date Fri Feb 15 17:40:45 2019 +0100 (2019-02-15)
parents 3132d67b7e38
children 95bd53a02010
rev   line source
slaxemulator@7818 1 # SliTaz package receipt.
slaxemulator@7818 2
slaxemulator@7818 3 PACKAGE="cowpatty"
Hans-G?nter@20802 4 VERSION="4.8"
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"
Hans-G?nter@20802 9 WEB_SITE="http://www.willhackforsushi.com/?page_id=50"
Hans-G?nter@20802 10
slaxemulator@7818 11 TARBALL="$PACKAGE-$VERSION.tgz"
slaxemulator@7818 12 WGET_URL="http://www.willhackforsushi.com/code/$PACKAGE/$VERSION/$TARBALL"
slaxemulator@7818 13
pascal@15000 14 DEPENDS="openssl libpcap"
pascal@15000 15 BUILD_DEPENDS="openssl-dev libpcap-dev"
pascal@15000 16
slaxemulator@7818 17 # Rules to configure and make the package.
slaxemulator@7818 18 compile_rules()
slaxemulator@7818 19 {
pascal@20569 20 make -j 1 || 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 }