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