# Note: depends on libnl
# Note: depends on pkg-config
# Note: depends on openssl
wget -c http://w1.fi/releases/hostapd-2.4.tar.gz
tar -xzf hostapd-2.4.tar.gz
cd hostapd-2.4/hostapd
cp defconfig .config
echo 'CONFIG_LIBNL32=y' >> .config
make BINDIR=/usr/bin
make BINDIR=/usr/bin install