name=hostapd version=2.6 update_url="http://w1.fi/$name/" define_option '!rtlxdrv: Build with support for RTL8188{C|CU|CUS} wifi chips' if option rtlxdrv; then version=2.5 # The patch still has to be updated dlextract "http://w1.fi/releases/$name-$version.tar.gz" \ '69f9cec3f76d74f402864a43e4f8624f' dlfile 'https://raw.githubusercontent.com/pritambaral/hostapd-rtl871xdrv/547005ed466bbd632cff87b706e339874025acb0/rtlxdrv.patch' \ 'ca8697f0254e3444f1e3758100c4f949' else dlextract "http://w1.fi/releases/$name-$version.tar.gz" \ 'eaa56dce9bd8f1d195eb62596eab34c7' fi header_end cd "$name-$version" option rtlxdrv patch -p1 -i ../rtlxdrv.patch cd "$name" cp defconfig .config option rtlxdrv echo CONFIG_DRIVER_RTW=y >> .config make install -Dm755 -t "$dir_install/$dir_prefix/$dir_bindir" "$name" "${name}_cli" # vim:set tabstop=4 shiftwidth=4 syntax=sh et: