wok view wepbuster/receipt @ rev 24545

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 24 19:32:16 2022 +0000 (2022-02-24)
parents c49ffc024a6c
children 0f92b8cc8086
line source
1 # SliTaz package receipt.
3 PACKAGE="wepbuster"
4 VERSION="1.0_beta-0.7"
5 CATEGORY="network"
6 SHORT_DESC="A set of tools for auditing wireless networks"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/google-code-export/wepbuster"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WGET_URL="http://wepbuster.googlecode.com/files/$TARBALL"
13 DEPENDS="perl-number-range perl-expect perl-algorithm-permute perl-file-slurp \
14 perl-getopt-long perl-term-readkey macchanger aircrack-ng dhcp-client \
15 wireless_tools"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://raw.githubusercontent.com/google-code-export/wepbuster/master/README.TXT 2>/dev/null | \
21 sed '/WEPBuster/!d;s|.*ter ||;s| .*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/wepbuster $fs/usr/bin
35 }