21 lines
592 B
Text
Executable file
21 lines
592 B
Text
Executable file
# Description: Programs for basic and advanced IPV4-based networking
|
|
# URL: https://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
|
|
# Maintainer: Emmett1, emmett1 dot 2miligrams at gmail dot com
|
|
# Depends on:
|
|
|
|
name=iproute2
|
|
version=5.11.0
|
|
release=1
|
|
source=(https://www.kernel.org/pub/linux/utils/net/$name/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
sed -i /ARPD/d Makefile
|
|
rm -fv man/man8/arpd.8
|
|
|
|
[ -e /usr/lib/pkgconfig/xtables.pc ] || sed -i 's/m_ipt.o//' tc/Makefile
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|