void-packages/srcpkgs/uftrace/template

23 lines
781 B
Bash

# Template file for 'uftrace'
pkgname=uftrace
version=0.8.1
revision=2
build_style=gnu-configure
hostmakedepends="pandoc"
makedepends="elfutils-devel"
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" argp-standalone"; export LDFLAGS=-largp;;
esac
only_for_archs="aarch64 aarch64-musl armv6l armv6l-musl armv7l armv7l-musl x86_64 x86_64-musl"
case "$XBPS_TARGET_MACHINE" in
x86_64*) export ARCH=x86_64;;
arm*) export ARCH=arm;;
aarch64*) export ARCH=aarch64;;
esac
short_desc="Function graph tracer for user-space"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="https://github.com/namhyung/uftrace"
distfiles="https://github.com/namhyung/uftrace/archive/v${version}.tar.gz"
checksum=5f9489554d0b9e475eaf6f181550e4c99274ad2038841cf8a2d615d9f65d6d44