wok-next annotate cowpatty/receipt @ rev 20297

Up spl (0.7.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 09 21:37:23 2017 +0100 (2017-11-09)
parents 380ffe05937a
children 49a10d2a7814
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 {
pascal@20218 19 make -j 1 || return 1
slaxemulator@7818 20 make strip || return 1
pascal@15000 21 make BINDIR="/usr/bin" DESTDIR="$DESTDIR" install
pascal@15000 22 install -D -m644 dict $DESTDIR/usr/share/cowpatty/dict
slaxemulator@7818 23 }
slaxemulator@7818 24
slaxemulator@7818 25 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7818 26 genpkg_rules()
slaxemulator@7818 27 {
slaxemulator@9626 28 mkdir -p $fs/usr/share
pascal@15000 29 cp -a $install/usr/bin $fs/usr
pascal@15000 30 cp -a $install/usr/share/cowpatty $fs/usr/share
slaxemulator@7818 31 }
slaxemulator@7818 32