wok annotate aircrack-ng-scripts/receipt @ rev 16481
xpaint: clean up packaged files
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 03:43:46 2014 +0200 (2014-04-23) |
parents | aa9d73cf312d |
children | 9340d813aee3 |
rev | line source |
---|---|
slaxemulator@13169 | 1 # SliTaz package receipt. |
slaxemulator@13169 | 2 |
slaxemulator@13169 | 3 PACKAGE="aircrack-ng-scripts" |
slaxemulator@13169 | 4 VERSION="1.1" |
slaxemulator@13169 | 5 CATEGORY="network" |
slaxemulator@13169 | 6 SHORT_DESC="Included scripts for a key cracker for the 802.11 WEP and WPA-PSK protocols" |
slaxemulator@13169 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15201 | 8 LICENSE="GPL2" |
slaxemulator@13169 | 9 WEB_SITE="http://aircrack-ng.org" |
pascal@15201 | 10 WANTED="aircrack-ng" |
pascal@15201 | 11 |
slaxemulator@13169 | 12 DEPENDS="aircrack-ng python graphviz pylorcan" |
slaxemulator@13169 | 13 |
slaxemulator@13169 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@13169 | 15 genpkg_rules() |
slaxemulator@13169 | 16 { |
slaxemulator@13169 | 17 # add airdrop-ng |
slaxemulator@13169 | 18 mkdir -p $fs/usr/sbin $fs/usr/lib $fs/usr/share |
slaxemulator@13169 | 19 cp -a $src/scripts/airdrop-ng/airdrop-ng.py $fs/usr/sbin/airdrop-ng |
slaxemulator@13169 | 20 cp -a $src/scripts/airdrop-ng/lib $fs/usr/lib/airdrop-ng |
slaxemulator@13169 | 21 cp -a $src/scripts/airdrop-ng/docs $fs/usr/share/airdrop-ng |
slaxemulator@13169 | 22 chmod +x $fs/usr/sbin/airdrop-ng |
slaxemulator@13169 | 23 |
slaxemulator@13169 | 24 # add airgraph-ng |
slaxemulator@13169 | 25 mkdir -p $fs/usr/lib/airgraph-ng/ |
slaxemulator@13169 | 26 cp -a $src/scripts/airgraph-ng/lib/lib_Airgraphviz.py \ |
slaxemulator@13169 | 27 $fs/usr/lib/airgraph-ng/ |
slaxemulator@13169 | 28 cp -a $src/scripts/airgraph-ng/airgraph-ng.py $fs/usr/sbin/airgraph-ng |
slaxemulator@13169 | 29 sed -i 's|/usr/local||g' $fs/usr/sbin/airgraph-ng |
slaxemulator@13169 | 30 chmod +x $fs/usr/sbin/airgraph-ng |
slaxemulator@13169 | 31 |
slaxemulator@13169 | 32 # add dump-join.py |
slaxemulator@13169 | 33 cp -a $src/scripts/airgraph-ng/dump-join.py $fs/usr/sbin/dump-join.py |
slaxemulator@13169 | 34 chmod +x $fs/usr/sbin/dump-join.py |
slaxemulator@13169 | 35 } |