Commit | Line | Data |
---|---|---|
bd9e88bf VM |
1 | # Description: A collection of utilites for controlling TCP/IP networking and traffic in Linux |
2 | # URL: http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2 | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
4 | # Depends on: db iptables | |
5 | ||
6 | name=iproute2 | |
04834e33 | 7 | version=4.6.0 |
bd9e88bf VM |
8 | release=1 |
9 | source=(https://www.kernel.org/pub/linux/utils/net/$name/$name-$version.tar.xz \ | |
10 | lo.iproute2 net.iproute2) | |
11 | ||
12 | build() { | |
13 | cd $name-$version | |
14 | ||
15 | ./configure | |
16 | make CCOPTS="$CFLAGS" | |
17 | make MANDIR=/usr/share/man DESTDIR=$PKG install | |
18 | ||
19 | rm -r $PKG/usr/share/doc | |
20 | install -D -m 0755 $SRC/lo.iproute2 $PKG/etc/rc.d/lo | |
21 | install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net | |
22 | } |