20 lines
625 B
Plaintext
20 lines
625 B
Plaintext
# Description: A collection of utilites for controlling TCP/IP networking and traffic in Linux
|
|
# URL: http://linux-net.osdl.org/index.php/Iproute2
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: db
|
|
|
|
name=iproute2
|
|
version=2.6.26
|
|
release=1
|
|
source=(http://developer.osdl.org/dev/iproute2/download/$name-$version.tar.bz2 \
|
|
net.iproute2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
sed -i "s|local/lib/iptables|lib/xtables|" include/iptables.h
|
|
make
|
|
make SBINDIR=/sbin MANDIR=/usr/man DESTDIR=$PKG install
|
|
rm -r $PKG/share
|
|
install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net
|
|
}
|