void-packages/srcpkgs/oprofile/template

22 lines
742 B
Bash

# Template file for 'oprofile'
pkgname=oprofile
version=1.4.0
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="popt-devel binutils-devel"
system_accounts="_oprofile"
oprofile_homedir="/var/lib/oprofile"
make_dirs="/var/lib/oprofile 0750 _oprofile _oprofile"
short_desc="Transparent low-overhead system-wide profiler for Linux"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://oprofile.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=7ba06f99d7c188389d20d1d5e53ee690c7733f87aa9af62bd664fa0ca235a412
case "$XBPS_TARGET_MACHINE" in
ppc*) broken="requires libpfm, which is not packaged";;
esac