summaryrefslogtreecommitdiff
path: root/wpa_supplicant/Pkgfile
blob: 2b53f9bd3a72a974505b32a4a949dc3d481eddb8 (plain)
    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 # Depends on:  openssl
    5 
    6 name=wpa_supplicant
    7 version=0.5.11
    8 release=1
    9 source=(http://hostap.epitest.fi/releases/$name-$version.tar.gz)
   10 
   11 build () {
   12     cd $name-$version
   13     cp defconfig .config
   14     echo "CONFIG_READLINE=y" >> .config
   15     make
   16     install -d $PKG/{usr/sbin,usr/man/man{8,5},etc}
   17     install wpa_{cli,passphrase,supplicant} $PKG/usr/sbin
   18     install doc/docbook/*.8 $PKG/usr/man/man8
   19     install doc/docbook/*.5 $PKG/usr/man/man5
   20     echo -e "ctrl_interface=/var/run/wpa_supplicant\n" > $PKG/etc/wpa.conf
   21     chmod 0600 $PKG/etc/wpa.conf
   22 }

Generated by cgit