libbpf: update to 1.4.0.

This commit is contained in:
Leah Neukirchen 2024-04-05 14:43:24 +02:00
parent c4770a2344
commit 91c821e79c

View file

@ -1,6 +1,6 @@
# Template file for 'libbpf'
pkgname=libbpf
version=1.3.0
version=1.4.0
revision=1
build_wrksrc="src"
build_style=gnu-makefile
@ -11,15 +11,11 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2.1-only, BSD-2-Clause"
homepage="https://github.com/libbpf/libbpf"
distfiles="https://github.com/libbpf/libbpf/archive/refs/tags/v${version}.tar.gz"
checksum=11db86acd627e468bc48b7258c1130aba41a12c4d364f78e184fd2f5a913d861
checksum=4271dfd51f59d23c03d9ae62d8a92622af0f5216a620a7a666c4975c3c7cda6e
post_install() {
vlicense ../LICENSE
vlicense ../LICENSE.BSD-2-Clause
# ugly hack until kernel-libc-headers is at version 6.1 :/
vsed -i -e 's:<linux/btf.h>:<bpf/linux/btf.h>:g' ${DESTDIR}/usr/include/bpf/btf.h
vinstall ../include/uapi/linux/btf.h 0644 usr/include/bpf/linux
}
libbpf-devel_package() {