blob: 45acc87452558f86f808a696820de350f972a99a (
plain)
1 # Description: A collection of utilites for controlling TCP/IP networking and traffic in Linux
2 # URL: https://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Depends on: db elfutils iptables libcap libmnl
5
6 name=iproute2
7 version=6.1.0
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 DESTDIR=$PKG install
18
19 install -D -m 0755 $SRC/lo.iproute2 $PKG/etc/rc.d/lo
20 install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net
21
22 # add ip to user path via symlink
23 install -d $PKG/bin
24 ln -s /sbin/ip $PKG/bin/ip
25 }
|