PATCH_LIST="net-tools-1.60-gcc3.patch net-tools-netstat-larger-buffer.diff" FILE_LIST= SRC_FETCH_METHOD=http SRC_FETCH_PATH="http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-1.60.tar.bz2" MAKEDEPENDS= function do_config_only { grep "bool " config.in | sed -e "s/'.*'//" |while read ; do set $REPLY; echo "#define $2 0" ; done > config.h echo > config.make echo "HAVE_AFUNIX=1" >> config.make echo "HAVE_AFINET=1" >> config.make echo "HAVE_AFINET6=1" >> config.make echo "HAVE_HWETHER=1" >> config.make echo "HAVE_HWPPP=1" >> config.make echo "HAVE_HWTUNNEL=1" >> config.make echo "HAVE_HWIRDA=1" >> config.make echo "HAVE_IP_TOOLS=1" >> config.make echo "HAVE_MII=1" >> config.make sed -e 's/^\(.*\)=1/\#undef \1/' config.make >> config.h sed -e 's/^\(.*\)=1/\#define \1 1/' config.make >> config.h } function do_prepack { make install BASEDIR=$ROOTDIR mandir=/usr/man cd $ROOTDIR }