wok annotate hashcat/receipt @ rev 25060

Up fakeroot (1.29)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 07 08:21:12 2022 +0000 (2022-06-07)
parents 8ebaede3a143
children
rev   line source
pascal@23959 1 # SliTaz package receipt.
pascal@23959 2
pascal@23959 3 PACKAGE="hashcat"
pascal@23959 4 VERSION="6.1.1"
pascal@23959 5 CATEGORY="security"
pascal@23959 6 SHORT_DESC="Advanced password recovery"
pascal@23959 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@23959 8 LICENSE="MIT"
pascal@23959 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@23959 10 WEB_SITE="https://hashcat.net/hashcat/"
pascal@23959 11 WGET_URL="https://hashcat.net/files/$TARBALL"
pascal@23959 12
pascal@23961 13 BUILD_DEPENDS="findutils"
pascal@23961 14
pascal@23959 15 current_version()
pascal@23959 16 {
pascal@23959 17 wget -O - $WEB_SITE 2>/dev/null | \
pascal@23959 18 sed '/tar.gz/!d;s|.*cat-||;s|.tar.gz.*||;q'
pascal@23959 19 }
pascal@23959 20
pascal@23959 21 # Rules to configure and make the package.
pascal@23959 22 compile_rules()
pascal@23959 23 {
pascal@23959 24 grep -rl /usr/local $src | xargs sed -i 's|/usr/local|/usr|'
pascal@23959 25 make &&
pascal@23959 26 make DESTDIR=$DESTDIR install
pascal@23959 27 }
pascal@23959 28
pascal@23959 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@23959 30 genpkg_rules()
pascal@23959 31 {
pascal@23959 32 cp -a $install/usr $fs
pascal@23959 33 }