# Description: Access point and authentication daemon # URL: http://hostap.epitest.fi/hostapd/ # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve # Depends: libnl name=hostapd version=0.7.1 release=2 source=(http://hostap.epitest.fi/releases/$name-${version%%-*}.tar.gz http://snapshots.madwifi-project.org/madwifi-trunk/madwifi-trunk-r4132-20100921.tar.gz config hostapd.conf hostapd) build() { cp config $name-${version%%-*}/hostapd/.config cd $name-${version%%-*}/hostapd make install -D -m 755 hostapd $PKG/usr/sbin/hostapd install -D -m 755 hostapd_cli $PKG/usr/sbin/hostapd_cli install -D -m 644 hostapd.conf $PKG/etc/hostapd.conf install -D -m 755 $SRC/hostapd $PKG/etc/rc.d/hostapd install -D -m 644 hostapd_cli.1 $PKG/usr/man/man1/hostapd_cli.1 install -D -m 644 hostapd.8 $PKG/usr/man/man8/hostapd.8 }