1 # Description: A collection of utilites for controlling TCP/IP networking and traffic in Linux
2 # URL: http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on: db iptables
10 source=(https://www.kernel.org/pub/linux/utils/net/$name/$name-$version.tar.xz \
11 lo.iproute2 net.iproute2)
16 ./configure --build=$CHOST \
18 make CCOPTS="$CFLAGS" CC="$CC" AR="$AR" RANLIB="$RANLIB" DBM_INCLUDE="-I$CLFS/usr/include" HOSTCC="gcc" CCOPTS="-O2 -pipe"
19 make MANDIR=/usr/share/man DESTDIR=$PKG install
21 rm -r $PKG/usr/share/doc
22 install -D -m 0755 $SRC/lo.iproute2 $PKG/etc/rc.d/lo
23 install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net