forked from rosa/hakurei
This uses more intuitive names for some arguments and inverts their default value. Slices and nil-capable strings replace skip arguments. Signed-off-by: Ophestra <cat@gensokyo.uk>
32 lines
608 B
Go
32 lines
608 B
Go
package libbpf {
|
|
description = "the reference library for eBPF development";
|
|
website = "https://github.com/libbpf/libbpf";
|
|
anitya = 141355;
|
|
|
|
version# = "1.7.0";
|
|
source = remoteGitHub {
|
|
suffix = "libbpf/libbpf";
|
|
tag = "v"+version;
|
|
checksum = "Gsk3TYDTne6behhdiyRB0Y5GTGECRh2265VY7IQ_VB62vIm7U9oqzEW-Va5Tvi_w";
|
|
};
|
|
|
|
env = [ "PREFIX=/system" ];
|
|
early = "cd src";
|
|
writable = true;
|
|
chmod = true;
|
|
|
|
exec = make {
|
|
chdir = false;
|
|
configure = nil;
|
|
check = nil;
|
|
install = "make DESTDIR=/work LIBSUBDIR=lib install";
|
|
};
|
|
|
|
inputs = [
|
|
elfutils,
|
|
kernel-headers,
|
|
];
|
|
|
|
runtime = [ elfutils ];
|
|
}
|