wok-6.x view hashcat/receipt @ rev 25471

duplicity: update wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 08 08:40:19 2022 +0000 (2022-10-08)
parents 8ebaede3a143
children
line source
1 # SliTaz package receipt.
3 PACKAGE="hashcat"
4 VERSION="6.1.1"
5 CATEGORY="security"
6 SHORT_DESC="Advanced password recovery"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://hashcat.net/hashcat/"
11 WGET_URL="https://hashcat.net/files/$TARBALL"
13 BUILD_DEPENDS="findutils"
15 current_version()
16 {
17 wget -O - $WEB_SITE 2>/dev/null | \
18 sed '/tar.gz/!d;s|.*cat-||;s|.tar.gz.*||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 grep -rl /usr/local $src | xargs sed -i 's|/usr/local|/usr|'
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }