description="The Net-tools package is a collection of programs for controlling the network subsystem of the Linux kernel"
url="http://net-tools.sourceforge.net/"

packager="tnut <tnut@nutyx.org>"
contributors="Tnut, Jayce"

name=net-tool-cvs
version=20101030
release=6

source=(http://anduin.linuxfromscratch.org/sources/BLFS/svn/n/net-tools-CVS_20101030.tar.gz
net-tools-CVS_20101030-remove_dups-1.patch)

build() {
cd net-tools-CVS_20101030
patch -Np1 -i ../net-tools-CVS_20101030-remove_dups-1.patch 
sed -i '/#include <netinet\/ip.h>/d'  iptunnel.c
yes "" | make config 
make
make update DESTDIR=$PKG install
mv $PKG/bin $PKG/usr
mv $PKG/sbin $PKG/usr
}
