void-packages/srcpkgs/oprofile/template

41 lines
1.3 KiB
Text

# Template file for 'oprofile'
pkgname=oprofile
version=0.9.8
revision=1
build_style=gnu-configure
configure_args="--with-x --enable-gui=qt4 --disable-static"
makedepends="popt-devel binutils-devel>=2.22.52.0.4_2 pkg-config
libX11-devel icu-devel qt-devel"
short_desc="Transparent low-overhead system-wide profiler for Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://oprofile.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=ab45900fa1a23e5d5badf3c0a55f26c17efe6e184efcf00b371433751fa761bc
long_desc="
OProfile is a system-wide profiler for Linux systems, capable of profiling
all running code at low overhead.
OProfile leverages the hardware performance counters of the CPU to enable
profiling of a wide variety of interesting statistics, which can also be used
for basic time-spent profiling. All code is profiled: hardware and software
interrupt handlers, kernel modules, the kernel, shared libraries, and
applications."
oprofile-qt4-gui_package() {
depends="oprofile-${version}_${revision}"
short_desc="Qt GUI for oprofile"
pkg_install() {
vmove usr/bin/oprof_start
}
}
oprofile_package() {
depends="shadow"
system_accounts="oprofile"
oprofile_homedir="/var/lib/oprofile"
make_dirs="/var/lib/oprofile 0750 oprofile oprofile"
pkg_install() {
vmove usr
}
}