wok annotate pyrit/receipt @ rev 23945
Up slitaz-base-files (342)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 18 18:47:32 2020 +0000 (2020-09-18) |
parents | |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@22504 | 1 # SliTaz package receipt. |
pascal@22504 | 2 |
pascal@22504 | 3 PACKAGE="pyrit" |
pascal@22504 | 4 VERSION="0.5.0" |
pascal@22504 | 5 CATEGORY="network" |
pascal@22504 | 6 SHORT_DESC="The famous WPA precomputed cracker" |
pascal@22504 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@22504 | 8 LICENSE="GPL3" |
pascal@22504 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@22504 | 10 WEB_SITE="https://github.com/JPaulMora/Pyrit" |
pascal@22504 | 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@22504 | 12 |
pascal@22504 | 13 DEPENDS="python libcrypto libpcap" |
pascal@22504 | 14 BUILD_DEPENDS="python-setuptools python-dev openssl-dev libpcap-dev" |
pascal@22504 | 15 |
pascal@22504 | 16 # Rules to configure and make the package. |
pascal@22504 | 17 compile_rules() |
pascal@22504 | 18 { |
pascal@22504 | 19 python setup.py build && |
pascal@22504 | 20 python setup.py install --root=$DESTDIR |
pascal@22504 | 21 } |
pascal@22504 | 22 |
pascal@22504 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@22504 | 24 genpkg_rules() |
pascal@22504 | 25 { |
pascal@22504 | 26 mkdir -p $install/usr/share/doc |
pascal@22504 | 27 cp $src/README.md $install/usr/share/doc |
pascal@22504 | 28 cp -a $install/usr $fs |
pascal@22504 | 29 } |