wok-current view crunch/receipt @ rev 25529
created recipe for neovim-0.8.3
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 14:14:14 2023 +0100 (22 months ago) |
parents | b56b38cfd475 |
children |
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://crunch-wordlist.sourceforge.io/"
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 }