35 lines
848 B
TOML
35 lines
848 B
TOML
[build]
|
|
type = "makefile"
|
|
|
|
[build.flags]
|
|
makefile_commands = ["make NETNS_RUN_DIR=/run/netns"]
|
|
makefile_install_commands = ["make SBINDIR=/usr/bin DESTDIR=$DESTDIR install"]
|
|
|
|
[dependencies]
|
|
runtime = [
|
|
"glibc",
|
|
"zlib-ng",
|
|
"libelf",
|
|
"libcap",
|
|
"coreutils",
|
|
"sh",
|
|
]
|
|
build = [ "linux-headers" ]
|
|
|
|
[package]
|
|
description = "programs for basic and advanced IPV4-based networking"
|
|
homepage = "https://git.kernel.org/pub/scm/network/iproute2/iproute2.git"
|
|
license = "GPL-2.0-or-Later"
|
|
name = "iproute2"
|
|
version = "6.19.0"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
post_extract = [
|
|
"sed -i /ARPD/d Makefile",
|
|
"rm -fv man/man8/arpd.8",
|
|
]
|
|
sha256 = "9332213d35480b647086a70c302de8568de83455a98774d35de216c4ce191006"
|
|
url = "https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-$version.tar.xz"
|
|
patches = [ "clang.patch" ]
|