21 lines
694 B
Bash
21 lines
694 B
Bash
# Template file for 'pwru'
|
|
pkgname=pwru
|
|
version=1.0.9
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="github.com/cilium/pwru"
|
|
go_ldflags="-X github.com/cilium/pwru/internal/pwru.Version=${version}"
|
|
hostmakedepends="clang"
|
|
makedepends="libnl3-devel libpcap-devel"
|
|
short_desc="Packet, where are you? eBPF-based kernel networking debugger"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/cilium/pwru"
|
|
distfiles="https://github.com/cilium/pwru/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=e02770901a1f10144e2ef5b9b2e3687e6a7f7eb108fa9938f7bf0d11ab69b063
|
|
nocross="go generate runs on wrong architecture"
|
|
|
|
pre_build() {
|
|
TARGET_GOARCH=$GOARCH go generate
|
|
}
|