eth0s/ports/core/iproute2/Pkgfile

22 lines
592 B
Text
Raw Normal View History

# Description: Programs for basic and advanced IPV4-based networking
# URL: https://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
2019-11-10 23:58:56 +08:00
# Maintainer: Emmett1, emmett1 dot 2miligrams at gmail dot com
# Depends on:
name=iproute2
2021-04-18 08:19:42 +08:00
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
}