wok annotate cowpatty/receipt @ rev 24304

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 17 11:01:52 2022 +0000 (2022-01-17)
parents 95bd53a02010
children b569b85b0fb9
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"
pascal@21145 9 WEB_SITE="https://github.com/joswr1ght/cowpatty"
Hans-G?nter@20802 10
slaxemulator@7818 11 TARBALL="$PACKAGE-$VERSION.tgz"
Hans-G?nter@20806 12 #WGET_URL="http://www.willhackforsushi.com/code/$PACKAGE/$VERSION/$TARBALL"
Hans-G?nter@20806 13 WGET_URL="https://github.com/joswr1ght/$PACKAGE/$VERSION/$TARBALL"
slaxemulator@7818 14
pascal@15000 15 DEPENDS="openssl libpcap"
pascal@15000 16 BUILD_DEPENDS="openssl-dev libpcap-dev"
pascal@15000 17
slaxemulator@7818 18 # Rules to configure and make the package.
slaxemulator@7818 19 compile_rules()
slaxemulator@7818 20 {
Hans-G?nter@20806 21 make CC=gcc -j 1 || return 1
Hans-G?nter@20806 22 make strip CC=gcc || return 1
Hans-G?nter@20806 23 make BINDIR="/usr/bin" DESTDIR="$DESTDIR" CC=gcc install
pascal@15000 24 install -D -m644 dict $DESTDIR/usr/share/cowpatty/dict
slaxemulator@7818 25 }
slaxemulator@7818 26
slaxemulator@7818 27 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7818 28 genpkg_rules()
slaxemulator@7818 29 {
slaxemulator@9626 30 mkdir -p $fs/usr/share
pascal@15000 31 cp -a $install/usr/bin $fs/usr
pascal@15000 32 cp -a $install/usr/share/cowpatty $fs/usr/share
slaxemulator@7818 33 }