1 # Description: User space IEEE 802.1X/WPA supplicant (wireless client)
2 # URL: http://hostap.epitest.fi/wpa_supplicant/
3 # Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
4 # Arch Maintainer: CRUX-ARM System
5 # Depends on: openssl ncurses readline
10 source=(http://hostap.epitest.fi/releases/$name-$version.tar.gz)
13 cd $name-$version/$name
15 echo "CONFIG_READLINE=y" >> .config
17 install -d $PKG/{usr/sbin,usr/man/man{8,5},etc}
18 install wpa_{cli,passphrase,supplicant} $PKG/usr/sbin
19 install doc/docbook/wpa_{background,cli,passphrase,supplicant}.8 $PKG/usr/man/man8
20 install doc/docbook/wpa_supplicant.conf.5 $PKG/usr/man/man5
21 echo -e "ctrl_interface=/var/run/wpa_supplicant\n" > $PKG/etc/wpa.conf
22 chmod 0600 $PKG/etc/wpa.conf