#!/bin/mkpkg # description: BPF CO-RE library for loading and managing eBPF programs # url: https://github.com/libbpf/libbpf name=libbpf version=1.7.0 release=1 depends=(libelf zlib) source=(https://github.com/libbpf/libbpf/archive/v$version.tar.gz) renames=($name-$version.tar.gz) sha256sums=( "7ab5feffbf78557f626f2e3e3204788528394494715a30fc2070fcddc2051b7b" ) build() { cd $name-$version/src make \ CC=${CC:-cc} \ PREFIX=/usr \ LIBDIR=/usr/lib make \ PREFIX=/usr \ LIBDIR=/usr/lib \ DESTDIR=$PKG \ install # remove static library rm -f $PKG/usr/lib/libbpf.a } signify() { untrusted comment: public key RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 } # vim: filetype=sh