# Template file for 'blazesym'
pkgname=blazesym
version=0.2.6
revision=1
build_wrksrc="capi"
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libbpf-devel elfutils-devel zlib-devel"
short_desc="Library for address symbolization and related tasks"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-3-Clause"
homepage="https://github.com/libbpf/blazesym"
distfiles="https://github.com/libbpf/blazesym/archive/refs/tags/v${version}.tar.gz"
checksum=e065b34182989ff45cca64483cb9165749db65f1acbe8455a776eb0d1a1d6202

do_install() {
	cd ${wrksrc}
	vcopy target/*/release/*.a usr/lib
	vcopy capi/include usr
	vlicense LICENSE
}

do_check() {
	# needs multilib, x86_64 only
	:
}
