updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / wpa_supplicant-ps3 / PKGBUILD
blob20356125c465edc51f758ae3add6e786b2d0bb96
1 # Contributor: konni <konni@giev.de>
3 pkgname=wpa_supplicant-ps3
4 pkgver=0.6.4
5 pkgrel=1
6 pkgdesc="A utility providing key negotiation for WPA wireless networks - including some patches for PS3"
7 arch=(ppc)
8 makedepends=()
9 depends=('openssl' 'dbus')
10 license=('GPL')
11 groups=('base')
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
17          patch.makefile
18          patch.config)
19 install='wpa_supplicant.install'
20 md5sums=('eb06a9a05d3916addf9451297a558aa2'
21          'bfaaf79b33cdab17d5bf3e356970a9f8'
22          '50970a0f5b37aabd19efdd782af10afd')
23 build() {
24   cd $startdir/src/wpa_supplicant-$pkgver/wpa_supplicant
25   cp defconfig .config
26   patch -p0 .config < ../../../patch.config
27   patch -p0 Makefile < ../../../patch.makefile
28   make || return 1
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