wok-6.x diff wpa_supplicant/receipt @ rev 16524

ffserver: add config file
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 26 04:12:58 2014 +0200 (2014-04-26)
parents 38cdd37ed6ef
children 1df528a60782
line diff
     1.1 --- a/wpa_supplicant/receipt	Mon Mar 10 18:05:36 2014 +0100
     1.2 +++ b/wpa_supplicant/receipt	Sat Apr 26 04:12:58 2014 +0200
     1.3 @@ -13,23 +13,17 @@
     1.4  TAGS="wireless wifi network"
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 -DEPENDS="libssl libcrypto libnl"
     1.8 +DEPENDS="libssl libcrypto libnl dbus"
     1.9  BUILD_DEPENDS="openssl-dev libcrypto-dev libnl-dev dbus-dev"
    1.10  
    1.11 +# Arch install
    1.12 +case "$SLITAZ_ARCH" in
    1.13 +	arm*) DEPENDS="libssl libcrypto libnl" ;;
    1.14 +esac
    1.15 +
    1.16  # Cross compile
    1.17  case "$ARCH" in
    1.18 -	arm*) 
    1.19 -		VERSION="0.7.3"
    1.20 -		BUILD_DEPENDS="openssl-dev libcrypto-dev"
    1.21 -		TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.22 -		WGET_URL="http://hostap.epitest.fi/releases/$TARBALL" ;;
    1.23 -esac
    1.24 -
    1.25 -# Arch install
    1.26 -case "$SLITAZ_ARCH" in
    1.27 -	arm*) 
    1.28 -		VERSION="0.7.3"
    1.29 -		DEPENDS="libssl libcrypto" ;;
    1.30 +	arm*) BUILD_DEPENDS="openssl-dev libcrypto-dev libnl-dev" ;;
    1.31  esac
    1.32  
    1.33  # Rules to configure and make the package.
    1.34 @@ -37,24 +31,31 @@
    1.35  {
    1.36  	cd $src/$PACKAGE
    1.37  	cp -a ./defconfig ./.config
    1.38 -	case "$ARCH" in
    1.39 -		i?86)
    1.40 -			sed 's/-lnl/-lnl-3/g' -i ../src/drivers/drivers.mak
    1.41 -			sed 's/-lnl-3-genl/-lnl-genl-3/g' -i ../src/drivers/drivers.mak
    1.42 -			cat >> .config << EOF
    1.43 +	sed 's/-lnl/-lnl-3/g' -i ../src/drivers/drivers.mak
    1.44 +	sed 's/-lnl-3-genl/-lnl-genl-3/g' -i ../src/drivers/drivers.mak
    1.45 +	# Main build configs
    1.46 +	cat >> .config << EOT
    1.47  CONFIG_AP=y
    1.48  CONFIG_BGSCAN_SIMPLE=y
    1.49  CONFIG_LIBNL20=y
    1.50 +EOT
    1.51 +	# Dont use DBUS on ARM arch
    1.52 +	case "$ARCH" in
    1.53 +		i?86)
    1.54 +			cat >> .config << EOT
    1.55  CFLAGS += -I/usr/include/libnl3
    1.56  CONFIG_CTRL_IFACE_DBUS=y
    1.57  CONFIG_CTRL_IFACE_DBUS_NEW=y
    1.58  CONFIG_CTRL_IFACE_DBUS_INTRO=y
    1.59 -EOF
    1.60 +EOT
    1.61  			;;
    1.62  		arm)
    1.63 -			# 2.X dont cross compile for ARM
    1.64 -			#echo 'CFLAGS += -I${sysroot}/usr/include/libnl3' >> .config 
    1.65 -			continue ;;
    1.66 +			cat >> .config << EOT
    1.67 +CFLAGS += -I${sysroot}/usr/include/libnl3
    1.68 +CFLAGS += -I${sysroot}/usr/include/openssl
    1.69 +LIBS += -L${sysroot}/usr/lib
    1.70 +EOT
    1.71 +			;;
    1.72  	esac
    1.73  	make BINDIR=/usr/bin LIBDIR=/lib
    1.74  }