name=hostapd version=2.5 update_url="http://w1.fi/$name/" define_option '!rtlxdrv: Build with support for RTL8188{C|CU|CUS} wifi chips' dlextract "http://w1.fi/releases/$name-$version.tar.gz" \ '69f9cec3f76d74f402864a43e4f8624f' if option rtlxdrv; then dlfile 'https://raw.githubusercontent.com/pritambaral/hostapd-rtl871xdrv/547005ed466bbd632cff87b706e339874025acb0/rtlxdrv.patch' \ 'ca8697f0254e3444f1e3758100c4f949' 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: