wok-current view hashcat/receipt @ rev 25312
updated smartmontools (7.2 -> 7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 17:27:26 2022 +0100 (2022-07-20) |
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 }