30 lines
933 B
Bash
30 lines
933 B
Bash
# Template file for 'uftrace'
|
|
pkgname=uftrace
|
|
version=0.9.3
|
|
revision=1
|
|
archs="x86_64* i686* aarch64* arm*"
|
|
build_style=gnu-configure
|
|
hostmakedepends="pandoc pkg-config"
|
|
makedepends="capstone-devel 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=d801d72e3cdd83c510aeecc5160482d879498cf08fffd21e64f84151001e18ea
|
|
|
|
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
|
|
|
|
post_install() {
|
|
vmkdir usr/share/bash-completion
|
|
mv $DESTDIR/etc/bash_completion.d $DESTDIR/usr/share/bash-completion/completions
|
|
}
|