PATCH_LIST="tftp-hpa-0.48-keep-dir.diff" FILE_LIST= SRC_FETCH_METHOD="http" SRC_FETCH_PATH="http://www.kernel.org/pub/software/network/tftp/tftp-hpa-0.48.tar.gz" MAKEDEPENDS=( "tcp_wrappers-*:::*.a *.h" ) function do_config { CC="$CC" CXX="$CXX" LD="$LD" \ RANLIB="$RANLIB" AR="$AR" AS="$AS" NM="$NM" OBJDUMP="$OBJDUMP" \ CFLAGS="$GCC_ARCH_SMALL $GCC_CPU_SMALL $GCC_OPT_SMALL" \ ./configure --prefix=/usr --sysconfdir=/etc --host=$FLXTARG --build=$FLXHOST } function do_compile_only { $FLXMAKE ( cd lib; $FLXMAKE libxtra.a ) ( cd common; $FLXMAKE ) $FLXMAKE TFTPD_LIBS="../common/libcommon.a ../lib/libxtra.a -lwrap" } function do_prepack { $FLXMAKE install INSTALLROOT=$ROOTDIR set_default_perm $ROOTDIR }