2008-09-19 12:09:41 +02:00
|
|
|
# Description: A collection of utilites for controlling TCP/IP networking and traffic in Linux
|
2009-12-30 18:04:52 +01:00
|
|
|
# URL: http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
|
2008-09-19 12:09:41 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2011-01-08 17:25:00 +01:00
|
|
|
# Depends on: db iptables
|
2006-12-19 14:45:51 -06:00
|
|
|
|
|
|
|
name=iproute2
|
2011-11-16 11:33:31 +01:00
|
|
|
version=3.0.0
|
2010-08-05 17:09:58 +02:00
|
|
|
release=1
|
2011-11-16 11:33:31 +01:00
|
|
|
source=(https://github.com/shemminger/iproute2/tarball/v3.0.0/$name-$version.tar.gz \
|
|
|
|
net.iproute2)
|
2006-12-19 14:45:51 -06:00
|
|
|
|
|
|
|
build() {
|
2011-11-16 11:33:31 +01:00
|
|
|
cd shemminger-$name-*
|
|
|
|
sed -i "/^CCOPTS/s|-O2|$CFLAGS|" Makefile
|
2011-01-08 17:25:00 +01:00
|
|
|
./configure
|
2008-09-19 12:09:41 +02:00
|
|
|
make
|
2009-01-21 10:12:02 +01:00
|
|
|
make MANDIR=/usr/man DESTDIR=$PKG install
|
2010-05-27 12:03:32 +02:00
|
|
|
rm -r $PKG/share
|
2008-09-19 12:09:41 +02:00
|
|
|
install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net
|
2006-12-19 14:45:51 -06:00
|
|
|
}
|