wok annotate crunch/receipt @ rev 25176

updated python-formalchemy (1.5.5 -> 1.5.6)
author Hans-G?nter Theisgen
date Fri Jul 01 17:52:21 2022 +0100 (23 months ago)
parents 076f424196b2
children 5c0ba7968d4c
rev   line source
pascal@19210 1 # SliTaz package receipt.
pascal@19210 2
pascal@19210 3 PACKAGE="crunch"
pascal@19210 4 VERSION="3.6"
pascal@19210 5 CATEGORY="network"
pascal@19210 6 SHORT_DESC="Wordlist generator."
pascal@19210 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19210 8 LICENSE="GPL2"
pascal@19210 9 TARBALL="$PACKAGE-$VERSION.tgz"
pascal@25094 10 WEB_SITE="https://sourceforge.net/projects/crunch-wordlist"
pascal@19210 11 WGET_URL="http://tenet.dl.sourceforge.net/project/crunch-wordlist/crunch-wordlist/$TARBALL"
pascal@19210 12
pascal@19210 13 BUILD_DEPENDS="sudo"
pascal@19210 14
pascal@24361 15 # What is the latest version available today?
pascal@24361 16 current_version()
pascal@24361 17 {
pascal@24361 18 wget -O - https://sourceforge.net/projects/crunch-wordlist/files/crunch-wordlist/ 2>/dev/null | \
pascal@24383 19 sed '/scope="row/!d;/tgz/!d;s|.*list/crunch-||;s|.tgz.*||;q'
pascal@24361 20 }
pascal@24361 21
pascal@19210 22 # Rules to configure and make the package.
pascal@19210 23 compile_rules()
pascal@19210 24 {
pascal@19210 25 make &&
pascal@19210 26 make DESTDIR=$DESTDIR install
pascal@19210 27 }
pascal@19210 28
pascal@19210 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19210 30 genpkg_rules()
pascal@19210 31 {
pascal@19210 32 mkdir -p $fs/usr/share
pascal@19210 33 cp -a $install/usr/bin $fs/usr
pascal@19210 34 cp -a $install/usr/share/crunch $fs/usr/share
pascal@19210 35 }