summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/wpa_supplicant/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/wpa_supplicant/PKGBUILD
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/wpa_supplicant/PKGBUILD')
-rw-r--r--abs/core-testing/wpa_supplicant/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/abs/core-testing/wpa_supplicant/PKGBUILD b/abs/core-testing/wpa_supplicant/PKGBUILD
new file mode 100644
index 0000000..2f022ce
--- /dev/null
+++ b/abs/core-testing/wpa_supplicant/PKGBUILD
@@ -0,0 +1,36 @@
+# Contributor: iztok pizorn <pizorn@gmail.com>
+# Contributor: William Rea <sillywilly@gmail.com>
+pkgname=wpa_supplicant
+pkgver=0.5.10
+_madwifi_ver=0.9.4
+pkgrel=10
+pkgdesc="A utility providing key negotiation for WPA wireless networks"
+arch=('i686' 'x86_64')
+makedepends=('kernel26>=2.6.24' 'kernel26<=2.6.26.3')
+depends=('openssl')
+license=('GPL')
+groups=('base')
+backup=('etc/wpa_supplicant.conf')
+url="http://hostap.epitest.fi/wpa_supplicant"
+source=(http://hostap.epitest.fi/releases/wpa_supplicant-$pkgver.tar.gz
+ config
+ http://downloads.sourceforge.net/sourceforge/madwifi/madwifi-${_madwifi_ver}.tar.gz)
+install='wpa_supplicant.install'
+md5sums=('9e7b99da67c47d81121368c6d580d069'
+ '87a7bb38e0b4820b29065a9b3e8f4e06'
+ '399d20de8d855a59f20058857c2178ad')
+
+build() {
+ cd ${startdir}/src/
+ mv madwifi-${_madwifi_ver} madwifi
+ cd $startdir/src/$pkgname-$pkgver
+ cp ../config ./.config
+ sed -i 's@/usr/local@$(PREFIX)@g' Makefile
+ sed -i 's@dynamic_eap_methods@@g' Makefile
+ make || return 1
+ make PREFIX=/usr DESTDIR=$startdir/pkg install || return 1
+ install -D -m644 wpa_supplicant.conf $startdir/pkg/etc/wpa_supplicant.conf || return 1
+ install -d -m755 $startdir/pkg/usr/man/man{5,8} || return 1
+ install -m644 doc/docbook/wpa_supplicant.conf.5 $startdir/pkg/usr/man/man5 || return 1
+ install -m644 doc/docbook/{wpa_background,wpa_cli,wpa_passphrase,wpa_supplicant}.8 $startdir/pkg/usr/man/man8 || return 1
+}