# Description: A collection of utilites for controlling TCP/IP networking and traffic in Linux # URL: http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2 # Maintainer: CRUX System Team, core-ports at crux dot nu # Depends on: db iptables name=iproute2 version=3.0.0 release=1 source=(https://github.com/shemminger/iproute2/tarball/v3.0.0/$name-$version.tar.gz \ net.iproute2) build() { cd shemminger-$name-* sed -i "/^CCOPTS/s|-O2|$CFLAGS|" Makefile ./configure make make MANDIR=/usr/man DESTDIR=$PKG install rm -r $PKG/share install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net }