void-packages/srcpkgs/oprofile/template

42 lines
1.3 KiB
Text
Raw Normal View History

2011-12-16 15:20:30 +00:00
# Template file for 'oprofile'
pkgname=oprofile
2013-07-29 23:19:11 +00:00
version=0.9.9
revision=2
2011-12-16 15:20:30 +00:00
build_style=gnu-configure
2012-10-26 04:30:14 +00:00
configure_args="--with-x --enable-gui=qt4 --disable-static"
2013-07-29 23:19:11 +00:00
hostmakedepends="pkg-config"
makedepends="popt-devel binutils-devel icu-devel qt-devel"
2011-12-16 15:20:30 +00:00
short_desc="Transparent low-overhead system-wide profiler for Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
2012-10-26 04:30:14 +00:00
homepage="http://oprofile.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
2013-07-29 23:19:11 +00:00
checksum=1e523400daaba7b8d0d15269e977a08b40edfea53970774b69ae130e25117597
2011-12-16 15:20:30 +00:00
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"
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() {
2013-07-29 23:19:11 +00:00
vmove all
}
}