wok view hashcat/receipt @ rev 23959

Add hashcat
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 01 13:38:59 2020 +0000 (2020-10-01)
parents
children 55e41ff9f4ed
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 current_version()
14 {
15 wget -O - $WEB_SITE 2>/dev/null | \
16 sed '/tar.gz/!d;s|.*cat-||;s|.tar.gz.*||;q'
17 }
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 grep -rl /usr/local $src | xargs sed -i 's|/usr/local|/usr|'
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 }