summaryrefslogtreecommitdiffstats
path: root/extra/wpa_supplicant/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-21 22:47:47 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-21 22:47:47 +0200
commit93ffab5a2d1fa583b6dcb603dd72fdba16c4b6ef (patch)
treeb7be9c5579b4788fef239d1587fce177dd24f0ef /extra/wpa_supplicant/Pkgfile
parent0202e145ab052ae69923e71d8ed3c876b214cf84 (diff)
downloadnutyx-extra-93ffab5a2d1fa583b6dcb603dd72fdba16c4b6ef.tar.gz
nutyx-extra-93ffab5a2d1fa583b6dcb603dd72fdba16c4b6ef.tar.bz2
nutyx-extra-93ffab5a2d1fa583b6dcb603dd72fdba16c4b6ef.tar.xz
nutyx-extra-93ffab5a2d1fa583b6dcb603dd72fdba16c4b6ef.zip
Ajout de wpa_supplicant#0.6.9-1
Diffstat (limited to 'extra/wpa_supplicant/Pkgfile')
-rw-r--r--extra/wpa_supplicant/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/wpa_supplicant/Pkgfile b/extra/wpa_supplicant/Pkgfile
new file mode 100644
index 000000000..78925e741
--- /dev/null
+++ b/extra/wpa_supplicant/Pkgfile
@@ -0,0 +1,26 @@
+# Description: Utilitaire permettant la négociation WPA pour les réseaux sans fils
+# URL: http://hostap.epitest.fi/wpa_supplicant
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: openssl, libnl
+
+name=wpa_supplicant
+version=0.6.9
+release=1
+madwifi_ver=0.9.4
+source=(http://hostap.epitest.fi/releases/$name-$version.tar.gz \
+ )
+
+build() {
+ cd $name-$version/$name
+ cp defconfig ./.config
+ echo "CONFIG_READLINE=y" >> .config
+ sed -i 's@/usr/local@$(PREFIX)@g' Makefile
+ make
+ make PREFIX=/usr DESTDIR=$PKG install
+ install -D -m644 wpa_supplicant.conf $PKG/etc/wpa_supplicant.conf
+ install -d -m755 $PKG/usr/share/man/man{5,8}
+ install -m644 doc/docbook/wpa_supplicant.conf.5 $PKG/usr/share/man/man5
+ install -m644 doc/docbook/{wpa_background,wpa_cli,wpa_passphrase,wpa_supplicant}.8 \
+ $PKG/usr/share/man/man8
+}