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
|
2015-07-07 19:18:34 +02:00
|
|
|
version=4.1.1
|
2014-08-16 13:37:56 +02:00
|
|
|
release=1
|
2013-05-03 08:42:20 +02:00
|
|
|
source=(https://www.kernel.org/pub/linux/utils/net/$name/$name-$version.tar.xz \
|
2014-04-15 14:34:12 -05:00
|
|
|
lo.iproute2 net.iproute2)
|
2006-12-19 14:45:51 -06:00
|
|
|
|
|
|
|
build() {
|
2012-12-15 10:59:18 +01:00
|
|
|
cd $name-$version
|
2015-06-29 13:27:42 +02:00
|
|
|
|
2011-01-08 17:25:00 +01:00
|
|
|
./configure
|
2012-05-22 17:19:26 +02:00
|
|
|
make CCOPTS="$CFLAGS"
|
2009-01-21 10:12:02 +01:00
|
|
|
make MANDIR=/usr/man DESTDIR=$PKG install
|
2015-06-29 13:27:42 +02:00
|
|
|
|
2012-05-22 17:19:26 +02:00
|
|
|
rm -r $PKG/usr/share
|
2014-04-15 14:34:12 -05:00
|
|
|
install -D -m 0755 $SRC/lo.iproute2 $PKG/etc/rc.d/lo
|
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
|
|
|
}
|