wok view pyrit/receipt @ rev 24560

updated fossil (2.12.1 -> 2.18)
author Hans-G?nter Theisgen
date Fri Feb 25 16:12:40 2022 +0100 (2022-02-25)
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 }