wok-next diff net-tools/receipt @ rev 21724
busybox: update configs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 11:04:25 2020 +0000 (2020-09-01) |
parents | d43bf7aae921 |
children |
line diff
1.1 --- a/net-tools/receipt Wed Mar 21 15:58:17 2018 +0200 1.2 +++ b/net-tools/receipt Tue Sep 01 11:04:25 2020 +0000 1.3 @@ -13,7 +13,7 @@ 1.4 1.5 compile_rules() { 1.6 sed -i '/netinet\/ip/d' iptunnel.c 1.7 - mkdir $DESTDIR 1.8 + mkdir $install 1.9 enabled="HAVE_AFUNIX HAVE_AFINET HAVE_HWETHER HAVE_HWPPP \ 1.10 HAVE_HWTUNNEL HAVE_FW_MASQUERADE HAVE_IP_TOOLS HAVE_MII" 1.11 1.12 @@ -21,16 +21,18 @@ 1.13 | while read name; do 1.14 val=0 1.15 case " $enabled " in 1.16 - *\ $name\ *) val=1 ;; 1.17 + *\ $name\ *) val=1;; 1.18 esac 1.19 echo "#define $name $val" 1.20 echo "$name=$val" >&2 1.21 - done > config.h 2> config.make 1.22 + done \ 1.23 + > config.h \ 1.24 + 2> config.make 1.25 1.26 sed -i 's/default:/&;/' hostname.c lib/inet_sr.c 1.27 sed -i '/"usage/,/10baseT/s/.*/&\\n\\/' mii-tool.c 1.28 - make -j 1 && 1.29 - make BASEDIR=$DESTDIR install 1.30 + make -j1 && 1.31 + make BASEDIR=$install install 1.32 } 1.33 1.34 genpkg_rules() {