From 93ffab5a2d1fa583b6dcb603dd72fdba16c4b6ef Mon Sep 17 00:00:00 2001 From: Thierry N Date: Fri, 21 Aug 2009 22:47:47 +0200 Subject: Ajout de wpa_supplicant#0.6.9-1 --- extra/wpa_supplicant/Pkgfile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 extra/wpa_supplicant/Pkgfile (limited to 'extra/wpa_supplicant/Pkgfile') 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 +} -- cgit v1.2.3-70-g09d2