wok-6.x view hashcat/receipt @ rev 25107
Up open-iscsi (2.0.873)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 17:23:49 2022 +0000 (2022-06-22) |
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 }