void-packages/srcpkgs/oprofile/template
2014-02-21 16:33:56 +01:00

25 lines
833 B
Text

# Template file for 'oprofile'
pkgname=oprofile
version=0.9.9
revision=3
build_style=gnu-configure
configure_args="--with-x --enable-gui=qt4 --disable-static"
hostmakedepends="pkg-config"
makedepends="popt-devel binutils-devel icu-devel libSM-devel qt-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="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://oprofile.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=1e523400daaba7b8d0d15269e977a08b40edfea53970774b69ae130e25117597
oprofile-qt4-gui_package() {
depends="oprofile-${version}_${revision}"
short_desc+=" - QT GUI"
pkg_install() {
vmove usr/bin/oprof_start
}
}