1 # Description: A collection of utilites for controlling TCP/IP networking and traffic in Linux
2 # URL: http://linux-net.osdl.org/index.php/Iproute2
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
10 source=(http://developer.osdl.org/dev/iproute2/download/$name-$version.tar.bz2 \
16 sed -i "s|local/lib/iptables|lib/xtables|" include/iptables.h
17 sed -i "s|gcc |$CC $CFLAGS|g" configure
19 make DBM_INCLUDE="$CLFS/usr/include" CC="$CC $CFLAGS"
20 make MANDIR=/usr/man DESTDIR=$PKG install
22 rm -r $PKG/{share,usr/lib}
23 install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net