21 lines
742 B
Plaintext
21 lines
742 B
Plaintext
# 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
|
|
|
|
name=iproute2
|
|
version=2.6.34
|
|
release=2
|
|
source=(http://devresources.linuxfoundation.org/dev/iproute2/download/$name-$version.tar.bz2 \
|
|
net.iproute2 iproute2-tc_install.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
patch -p1 -i $SRC/iproute2-tc_install.patch
|
|
sed -i "s|-O2|$CFLAGS -DIPT_LIB_DIR=\\\\\"/usr/lib/xtables\\\\\"|" Makefile
|
|
make
|
|
make MANDIR=/usr/man DESTDIR=$PKG install
|
|
rm -r $PKG/share
|
|
install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net
|
|
}
|