wok view hashcat/receipt @ rev 25279
updated rfkill (0.5 -> 1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 15:03:30 2022 +0100 (2022-07-18) |
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 }