wok-current rev 16054

ARM downgrade wpa_supplicant to 0.7.3 to make it compile (we realy need it)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 10 18:05:36 2014 +0100 (2014-03-10)
parents 64b542b0abad
children 9c889f88b9fd
files wpa_supplicant/receipt
line diff
     1.1 --- a/wpa_supplicant/receipt	Mon Mar 10 15:55:04 2014 +0000
     1.2 +++ b/wpa_supplicant/receipt	Mon Mar 10 18:05:36 2014 +0100
     1.3 @@ -10,16 +10,16 @@
     1.4  WEB_SITE="http://hostap.epitest.fi/wpa_supplicant/"
     1.5  WGET_URL="http://hostap.epitest.fi/releases/$TARBALL"
     1.6  CONFIG_FILES="/etc/wpa_supplicant.conf"
     1.7 +TAGS="wireless wifi network"
     1.8  HOST_ARCH="i486 arm"
     1.9  
    1.10 -TAGS="wireless"
    1.11  DEPENDS="libssl libcrypto libnl"
    1.12  BUILD_DEPENDS="openssl-dev libcrypto-dev libnl-dev dbus-dev"
    1.13  
    1.14  # Cross compile
    1.15  case "$ARCH" in
    1.16  	arm*) 
    1.17 -		VERSION="1.1"
    1.18 +		VERSION="0.7.3"
    1.19  		BUILD_DEPENDS="openssl-dev libcrypto-dev"
    1.20  		TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.21  		WGET_URL="http://hostap.epitest.fi/releases/$TARBALL" ;;
    1.22 @@ -27,18 +27,20 @@
    1.23  
    1.24  # Arch install
    1.25  case "$SLITAZ_ARCH" in
    1.26 -	arm*) DEPENDS="libssl libcrypto" ;;
    1.27 +	arm*) 
    1.28 +		VERSION="0.7.3"
    1.29 +		DEPENDS="libssl libcrypto" ;;
    1.30  esac
    1.31  
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {
    1.35  	cd $src/$PACKAGE
    1.36 -	sed 's/-lnl/-lnl-3/g' -i ../src/drivers/drivers.mak
    1.37 -	sed 's/-lnl-3-genl/-lnl-genl-3/g' -i ../src/drivers/drivers.mak
    1.38  	cp -a ./defconfig ./.config
    1.39  	case "$ARCH" in
    1.40  		i?86)
    1.41 +			sed 's/-lnl/-lnl-3/g' -i ../src/drivers/drivers.mak
    1.42 +			sed 's/-lnl-3-genl/-lnl-genl-3/g' -i ../src/drivers/drivers.mak
    1.43  			cat >> .config << EOF
    1.44  CONFIG_AP=y
    1.45  CONFIG_BGSCAN_SIMPLE=y