blob: b6a5e3936478e5f0a5bde80d519fd85b536b76a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Adam Jensen <acjensen@gmail.com>
pkgname=libbpf
pkgver=0.0.7
pkgrel=1
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"
license="GPL-2.0-only"
# No test suite
options="!check"
depends="elfutils"
makedepends="build-base linux-headers elfutils-dev zlib-dev"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/libbpf/libbpf/archive/v$pkgver.tar.gz
20-consolidate-lib-dirs.patch"
build() {
cd src
make NO_PKG_CONFIG=1
}
package() {
cd src
make install DESTDIR="$pkgdir"
cp -R "$builddir/include/uapi" "$pkgdir/usr/include/uapi"
}
sha512sums="c2cbc869b7e11339deab3152a6e2d0b3bba25da513d18d77fb0a698cbe61d6bd48175a58e7dd7a3695fbf27faf48b4f517ac5d3a3c66c086df2e5d1b73a2595d libbpf-0.0.7.tar.gz
26f2b7bee6a11f2c9d4a36b5ee3cd2e85d65f496f0ce9ca49e561f2783ab95b56e23692d5de2364125bbdedd0d5978e884519e7d48131a06077d5578a4504b4a 20-consolidate-lib-dirs.patch"
|