1
0
forked from rosa/hakurei
Files
hakurei/internal/rosa/package/iproute2.az
T
2026-06-16 21:48:04 +09:00

56 lines
934 B
Go

package iproute2 {
description = "routing commands and utilities";
website = "https://wiki.linuxfoundation.org/networking/iproute2";
anitya = 1392;
version# = "7.1.0";
source = remoteTar {
url = "https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/"+
"snapshot/iproute2-"+version+".tar.gz";
checksum = "yc6NdF6GtFUpKtKg6xwF_yxYGyj0eqFQW8RGsgBzKrOiVlE2bpVQlfeZf_ca5wJL";
compress = gzip;
};
env = [
"CC=cc",
"PREFIX=/system",
"SBINDIR=/system/sbin",
];
enterSource = true;
writable = true;
chmod = true;
exec = make {
inPlace = true;
// drop default autoconf options
configureName = "./configure";
configure = {
"prefix": "/system";
"color": "auto";
};
make = [ "CC=cc" ];
// wants root
skipCheck = true;
};
inputs = [
pkg-config,
m4,
bison,
flex,
libbpf,
libmnl,
db,
libcap,
kernel-headers,
];
runtime = [
libbpf,
libmnl,
db,
libcap,
];
}