void-packages/srcpkgs/uftrace/template

25 lines
744 B
Bash

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