wok annotate cowpatty/receipt @ rev 24851

updated libxdg-basedir and libxdg-basedir-dev (1.2.0 -> 1.2.3)
author Hans-G?nter Theisgen
date Sat Mar 26 10:49:19 2022 +0100 (2022-03-26)
parents 364099c9aff2
children e1e1678c5265
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
pascal@24308 18 # What is the latest version available today?
pascal@24308 19 current_version()
pascal@24308 20 {
pascal@24308 21 wget -O - $WEB_SITE/tags 2>/dev/null | \
pascal@24308 22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24308 23 }
pascal@24308 24
slaxemulator@7818 25 # Rules to configure and make the package.
slaxemulator@7818 26 compile_rules()
slaxemulator@7818 27 {
Hans-G?nter@20806 28 make CC=gcc -j 1 || return 1
Hans-G?nter@20806 29 make strip CC=gcc || return 1
Hans-G?nter@20806 30 make BINDIR="/usr/bin" DESTDIR="$DESTDIR" CC=gcc install
pascal@15000 31 install -D -m644 dict $DESTDIR/usr/share/cowpatty/dict
slaxemulator@7818 32 }
slaxemulator@7818 33
slaxemulator@7818 34 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7818 35 genpkg_rules()
slaxemulator@7818 36 {
slaxemulator@9626 37 mkdir -p $fs/usr/share
pascal@15000 38 cp -a $install/usr/bin $fs/usr
pascal@15000 39 cp -a $install/usr/share/cowpatty $fs/usr/share
slaxemulator@7818 40 }