#!/bin/sh MAKEDEPS="make " DEPS="pam libcap readline ncurses libxcrypt utmps iana-etc net-tools" PKG_VER=2.10 SOURCE=https://downloads.sourceforge.net/project/net-tools/net-tools-$PKG_VER.tar.xz ADDITIONAL=" musl-fixes.patch " DESC="Linux networking base tools" prepare () { apply_patches cat > config.make < config.h } build () { make } package () { make DESTDIR=$PKG_DEST install }