1 # hdw - linux hostap package
3 # author: hackbard@hackdaworld.dyndns.org
7 # [D] hostap-driver-0.4.7.tar.gz http://hostap.epitest.fi/releases/
8 # [D] hostap-utils-0.4.7.tar.gz http://hostap.epitest.fi/releases/
9 # [D] hostapd-0.4.7.tar.gz http://hostap.epitest.fi/releases/
11 # hint: hostap drivers now in 2.6 kernel tree
13 make_conf="KERNEL_PATH=$prefix/src/linux $make_conf"
14 install_conf="KERNEL_PATH=$prefix/src/linux $install_conf"
18 rm -rf $docdir ; mkdir -p $docdir
19 cp README $docdir/README.driver
21 tar --use-compress-program=gunzip -xvf \
22 $archdir/hostap-utils-${ver}.tar.gz -C ../
23 cd ../hostap-utils-$ver
25 cp prism2_srec hostap_crypt_conf hostap_diag hostap_io_debug \
26 hostap_rid $prefix/sbin
27 cp prism2_param $docdir
28 cp README $docdir/README.utils
29 tar --use-compress-program=gunzip -xvf \
30 $archdir/hostapd-${ver}.tar.gz -C ../
32 sed 's%usr/local%usr%g' Makefile > tmp~ && mv tmp~ Makefile
33 sed 's%#CONFIG_DRIVER_WIRED=y%CONFIG_DRIVER_WIRED=y%' defconfig > \
37 cp README $docdir/README.hostapd