1 # Contributor: konni <konni@giev.de>
3 pkgname=wpa_supplicant-ps3
6 pkgdesc="A utility providing key negotiation for WPA wireless networks - including some patches for PS3"
9 depends=('openssl' 'dbus')
12 backup=('etc/wpa_supplicant.conf')
13 provides=("wpa_supplicant-ps3=$pkgver")
14 conflicts=('wpa_supplicant')
15 url="http://hostap.epitest.fi/wpa_supplicant"
16 source=(http://hostap.epitest.fi/releases/wpa_supplicant-$pkgver.tar.gz
19 install='wpa_supplicant.install'
20 md5sums=('eb06a9a05d3916addf9451297a558aa2'
21 'bfaaf79b33cdab17d5bf3e356970a9f8'
22 '50970a0f5b37aabd19efdd782af10afd')
24 cd $startdir/src/wpa_supplicant-$pkgver/wpa_supplicant
26 patch -p0 .config < ../../../patch.config
27 patch -p0 Makefile < ../../../patch.makefile
29 make PREFIX=/usr DESTDIR=$startdir/pkg install || return 1
30 install -D -m644 wpa_supplicant.conf $startdir/pkg/etc/wpa_supplicant.conf || return 1
31 install -d -m755 $startdir/pkg/usr/man/man{5,8} || return 1
32 install -m644 doc/docbook/wpa_supplicant.conf.5 $startdir/pkg/usr/man/man5 || return 1
33 install -m644 doc/docbook/{wpa_background,wpa_cli,wpa_passphrase,wpa_supplicant}.8 $startdir/pkg/usr/man/man8 || return 1