#!/bin/sh MAKEDEPS="make utmps " DEPS="pam libcap readline ncurses libxcrypt iana-etc " PKG_VER=2.1185 SOURCE=https://github.com/ecki/net-tools.git ADDITIONAL=" " DESC="Linux networking base tools" prepare () { sed -i lib/inet_sr.c \ -e "/#include /a #include " sed -i netstat.c \ -e "/#include /a #include " sed -i slattach.c \ -e "/#include /a #include " cat > config.make < config.h } build () { yes "" | make } package () { make DESTDIR=$PKG_DEST install }