wok view cowpatty/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (2022-05-02)
parents b569b85b0fb9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="cowpatty"
4 VERSION="4.8"
5 CATEGORY="network"
6 SHORT_DESC="Wireless WPA/WPA2 PSK handshake cracking utility."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/joswr1ght/cowpatty"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 #WGET_URL="http://www.willhackforsushi.com/code/$PACKAGE/$VERSION/$TARBALL"
13 WGET_URL="https://github.com/joswr1ght/$PACKAGE/releases/download/$VERSION/$TARBALL"
15 DEPENDS="openssl libpcap"
16 BUILD_DEPENDS="openssl-dev libpcap-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make CC=gcc -j 1 || return 1
29 make strip CC=gcc || return 1
30 make BINDIR="/usr/bin" DESTDIR="$DESTDIR" CC=gcc install
31 install -D -m644 dict $DESTDIR/usr/share/cowpatty/dict
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/cowpatty $fs/usr/share
40 }