wok view pyrit/receipt @ rev 24108
Up rdesktop (1.9.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 28 08:31:51 2021 +0000 (2021-09-28) |
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 }