wok diff aircrack-ng-oui/receipt @ rev 24101

lrzip: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 16 16:33:44 2021 +0000 (2021-09-16)
parents 20661c276bcf
children b01314c762e9
line diff
     1.1 --- a/aircrack-ng-oui/receipt	Sun Jan 27 17:42:10 2019 +0100
     1.2 +++ b/aircrack-ng-oui/receipt	Thu Sep 16 16:33:44 2021 +0000
     1.3 @@ -11,14 +11,20 @@
     1.4  WGET_URL="http://standards-oui.ieee.org/oui.txt"
     1.5  HOST_ARCH="any"
     1.6  
     1.7 -# Rules to gen a SliTaz package suitable for Tazpkg.
     1.8 -genpkg_rules()
     1.9 +# Rules to configure and make the package.
    1.10 +compile_rules()
    1.11  {
    1.12  	# get the logic from airodump-ng-oui-update + dos2unix & sort
    1.13 -	mkdir -p $fs/etc/aircrack-ng
    1.14 +	mkdir -p $install/etc/aircrack-ng
    1.15  	grep '(hex)' $TARBALL \
    1.16  	| sed 's/^[ \t]*//g;s/[ \t]*$//g' \
    1.17  	| dos2unix \
    1.18  	| sort \
    1.19 -	> $etc/etc/aircrack-ng/airodump-ng-oui.txt
    1.20 +	> $install/etc/aircrack-ng/airodump-ng-oui.txt
    1.21  }
    1.22 +
    1.23 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.24 +genpkg_rules()
    1.25 +{
    1.26 +	cp -a $install/etc $fs
    1.27 +}