Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
926 B

name=hostapd
version=2.6
update_url="http://w1.fi/$name/"
8 years ago
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'
8 years ago
dlfile 'https://raw.githubusercontent.com/pritambaral/hostapd-rtl871xdrv/547005ed466bbd632cff87b706e339874025acb0/rtlxdrv.patch' \
'ca8697f0254e3444f1e3758100c4f949'
else
dlextract "http://w1.fi/releases/$name-$version.tar.gz" \
'eaa56dce9bd8f1d195eb62596eab34c7'
8 years ago
fi
header_end
8 years ago
cd "$name-$version"
option rtlxdrv patch -p1 -i ../rtlxdrv.patch
cd "$name"
cp defconfig .config
8 years ago
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 expandtab: