core/iproute2/Pkgfile

26 lines
721 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-12-13 12:17:46 +01:00
# URL: https://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
2021-04-29 12:57:18 +02:00
# Maintainer: CRUX System Team, core-ports at crux dot nu
2022-03-23 17:01:59 +01:00
# Depends on: db elfutils iptables libcap libmnl
name=iproute2
2023-09-07 19:43:46 +02:00
version=6.5.0
2021-02-24 12:02:20 +01:00
release=1
2022-12-15 09:35:16 +01: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() {
2022-12-15 09:35:16 +01: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
}