PATCH_LIST="0001-dont-link-with-librt.diff" FILE_LIST= # retrieval method : can be svn, git, http, ftp, filesystem SRC_FETCH_METHOD=http # retrieval path : SRC_FETCH_PATH=http://w1.fi/releases/hostapd-${PKGVER}.tar.gz # format : MAKEDEPENDS='packagename:versfx:architecture:globbing' MAKEDEPENDS=( 'libnl-1.*:::*.so* *.h' 'openssl-*:::*.so* *.h' ) function do_config { cp $PKGDIR/add-ons/config hostapd/.config } function do_compile_only { # standard make ( cd hostapd ; $FLXPMAKE CC=$CC DRV_AP_LDFLAGS=-L$FLXROOTDIR/usr/lib ) } function do_prepack { install -d -m 0755 $ROOTDIR/usr/sbin $ROOTDIR/usr/bin install -m 711 hostapd/hostapd $ROOTDIR/usr/sbin install -m 711 hostapd/hostapd_cli $ROOTDIR/usr/bin mkdir -p $ROOTDIR/sbin/init.d cp $PKGDIR/add-ons/hostapd.svc $ROOTDIR/sbin/init.d/hostapd set_default_perm $ROOTDIR } function do_clean { ( cd hostapd ; $FLXMAKE clean ) }