1
0
Fork 0
frozenports/www/iproute2/SCHEMATIC

28 lines
1.1 KiB
Bash

#!/bin/sh
name="iproute2"
short_desc="TCP/IP utilities"
desc="Iproute2 is a collection of utilities for controlling TCP / IP networking and
traffic control in Linux. It is currently maintained by Stephen Hemminger
<stephen@networkplumber.org>. The original author, Alexey Kuznetsov,
is well known for the QoS implementation in the Linux kernel."
category="www"
version="6.7.0"
maintainer="ffqq@danwin1210.de"
www="https://wiki.linuxfoundation.org/networking/iproute2"
master_site="https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2"
source_name="$name-$version.tar.gz"
license_logic="single" # accepted values: single, and, or
licenses=("GPLv3")
build_dependencies=("devel/gmake" "lang/gcc")
run_dependencies=("system/glibc" "www/iana-etc")
build_process() {
cd $name-$version
sed -i /ARPD/d Makefile
rm -fv man/man8/arpd.8
make NETNS_RUN_DIR=/run/netns -j$(nproc)
make SBINDIR=/usr/sbin DESTDIR="$TAMANDUA_STAGE_DIR" install
mkdir -pv $TAMANDUA_STAGE_DIR/usr/share/doc/iproute2
cp -v README* COPYING $TAMANDUA_STAGE_DIR/usr/share/doc/iproute2
}