blob: e0881e1dffdf44fceb8311b5a72099237dca9564 (
plain) (
tree)
|
|
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=libbpf
pkgver=0.7.0
pkgrel=0
pkgdesc="A library for interacting with the Linux kernel's Berkeley Packet Filter (BPF) facility from user space"
url="https://github.com/libbpf/libbpf"
arch="all"
options="!check" # no tests
license="LGPL-2.1 OR BSD-2-Clause"
depends=""
makedepends="zlib-dev libelf-dev linux-headers"
subpackages="$pkgname-dev"
source="libbpf-$pkgver.tar.gz::https://github.com/libbpf/libbpf/archive/refs/tags/v$pkgver.tar.gz
10-include-stddef.patch
20-consolidate-lib-dirs.patch
"
build() {
cd src
make
}
package() {
cd src
make DESTDIR="$pkgdir" install
}
sha512sums="9677cd42124766713d8d773ebef1fc1782a167f2469e48d83ad28a68f7f8fb5f840aad62ffe27c4cd5acba34dfa969c21e8cf6390d7832a378f87a63607eee76 libbpf-0.7.0.tar.gz
946e445ffa4c5df42ebac77b7a1c6478b37dc7b55e0883aee195c6a8c4f8718b4dbf98b7c6d3016e1619e59440d8e4a76dad1e843114dfe2f9a2610e5cbb7943 10-include-stddef.patch
9398dd33df9e93f7bd4f68d6bb1da3731075e2f95fdcc3b9cc471e823c2f6700351d458976b804d3f56be50b824a8ce7cda482945a1e78522a3973b22bdbf4d5 20-consolidate-lib-dirs.patch"
|