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.

26 lines
750 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'
dlextract "http://w1.fi/releases/$name-$version.tar.gz" \
'eaa56dce9bd8f1d195eb62596eab34c7'
8 years ago
if option rtlxdrv; then
dlfile 'https://raw.githubusercontent.com/pritambaral/hostapd-rtl871xdrv/601a3f19d78393018f39a2e38ad14bf2e3315a0a/rtlxdrv.patch' \
'fef4f428e4aae71f5202a61f656952da'
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: