core/iproute2/Pkgfile

26 lines
716 B
Plaintext
Raw Normal View History

2008-09-19 12:09:41 +02:00
# Description: A collection of utilites for controlling TCP/IP networking and traffic in Linux
2021-04-29 12:57:18 +02:00
# URL: http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: db iptables libcap elfutils
name=iproute2
2022-08-03 10:46:23 +02:00
version=5.19.0
2021-02-24 12:02:20 +01: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 \
2021-04-29 12:57:18 +02:00
lo.iproute2 net.iproute2)
build() {
2021-04-29 12:57:18 +02:00
cd $name-$version
2015-06-29 13:27:42 +02:00
2021-04-29 12:57:18 +02:00
./configure
make CCOPTS="$CFLAGS"
make DESTDIR=$PKG install
2015-06-29 13:27:42 +02:00
2021-04-29 12:57:18 +02:00
install -D -m 0755 $SRC/lo.iproute2 $PKG/etc/rc.d/lo
install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net
2017-09-04 19:23:23 +02:00
2021-04-29 12:57:18 +02:00
# add ip to user path via symlink
install -d $PKG/bin
ln -s /sbin/ip $PKG/bin/ip
}