CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dosfstools: initial import (verified compilation).
[attic/ports/opt-cross.git] / wpa_supplicant / Pkgfile
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
6
7 name=wpa_supplicant
8 version=0.6.10
9 release=1
10 source=(http://hostap.epitest.fi/releases/$name-$version.tar.gz)
11
12 build () {
13 cd $name-$version/$name
14 cp defconfig .config
15 echo "CONFIG_READLINE=y" >> .config
16 make
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
23 }