wok rev 23959

Add hashcat
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 01 13:38:59 2020 +0000 (3 months ago)
parents af18e65b46b9
children c391bff2e44c
files hashcat/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/hashcat/receipt	Thu Oct 01 13:38:59 2020 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="hashcat"
     1.7 +VERSION="6.1.1"
     1.8 +CATEGORY="security"
     1.9 +SHORT_DESC="Advanced password recovery"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="https://hashcat.net/hashcat/"
    1.14 +WGET_URL="https://hashcat.net/files/$TARBALL"
    1.15 +
    1.16 +current_version()
    1.17 +{
    1.18 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.19 +	sed '/tar.gz/!d;s|.*cat-||;s|.tar.gz.*||;q'
    1.20 +}
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	grep -rl /usr/local $src | xargs sed -i 's|/usr/local|/usr|'
    1.26 +	make &&
    1.27 +	make DESTDIR=$DESTDIR install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	cp -a $install/usr $fs
    1.34 +}