wok rev 21873

Up wpa_supplicant (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 27 15:06:17 2019 +0200 (2019-09-27)
parents def8459358ed
children 4b27a977323d
files wpa_supplicant/receipt
line diff
     1.1 --- a/wpa_supplicant/receipt	Fri Sep 27 10:58:35 2019 +0200
     1.2 +++ b/wpa_supplicant/receipt	Fri Sep 27 15:06:17 2019 +0200
     1.3 @@ -29,18 +29,8 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	for i in  $stuff/*.patch
     1.8 -	do
     1.9 -     		if [ -f done.$(basename $i) ]; then
    1.10 -     			continue
    1.11 -		else
    1.12 -     			patch -p1 < $i && touch done.$(basename $i) || return 1
    1.13 -		fi
    1.14 -	done
    1.15  	cd $src/$PACKAGE 
    1.16  	cp -a ./defconfig ./.config
    1.17 -	sed 's/-lnl/-lnl-3/g' -i ../src/drivers/drivers.mak
    1.18 -	sed 's/-lnl-3-genl/-lnl-genl-3/g' -i ../src/drivers/drivers.mak
    1.19  	# Main build configs
    1.20  	cat >> .config << EOT
    1.21  CONFIG_AP=y
    1.22 @@ -73,6 +63,9 @@
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26 +	mkdir -p $install/usr/share/man
    1.27 +	cp $src/wpa_supplicant/doc/docbook/*.? $install/usr/share/man
    1.28 +
    1.29  	# commands
    1.30  	mkdir -p $fs/usr/bin
    1.31  	install -v -m755 $src/$PACKAGE/wpa_cli $fs/usr/bin
    1.32 @@ -82,9 +75,6 @@
    1.33  	# D-Bus control
    1.34  	mkdir -p $fs/usr/share/dbus-1/system-services
    1.35  	install -v -m644 \
    1.36 -		$src/wpa_supplicant/dbus/fi.epitest.hostap.WPASupplicant.service \
    1.37 -		$fs/usr/share/dbus-1/system-services
    1.38 -	install -v -m644 \
    1.39  		$src/wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service \
    1.40  		$fs/usr/share/dbus-1/system-services
    1.41