wok view pyrit/receipt @ rev 25501
Up aspell-pl (6.0_20230101-0), monitorix (3.15.0), simh (3.12.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 11 14:20:29 2023 +0000 (22 months ago) |
parents | fe803e849a79 |
children | 0262035dc1e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pyrit"
4 VERSION="0.5.0"
5 CATEGORY="network"
6 SHORT_DESC="The famous WPA precomputed cracker"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/JPaulMora/Pyrit"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 DEPENDS="python libcrypto libpcap"
14 BUILD_DEPENDS="python-setuptools python-dev openssl-dev libpcap-dev"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 python setup.py build &&
26 python setup.py install --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $install/usr/share/doc
33 cp $src/README.md $install/usr/share/doc
34 cp -a $install/usr $fs
35 }