description="A collection of utilites for controlling TCP/IP networking and traffic in Linux" packager="CRUX System Team " maintainer="Lukc " url="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2" depends=(db) name=iproute2 version=2.6.35 release=1 source=(http://devresources.linuxfoundation.org/dev/iproute2/download/$name-$version.tar.bz2 net.iproute2) build () { cd $name-$version; sed -i "s|-O2|$CFLAGS -DIPT_LIB_DIR=\\\\\"/usr/lib/xtables\\\\\"|" Makefile; make; make MANDIR=$mandir DESTDIR=$PKG install; install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net }