oprofile: create required user/dir at runtime.
This commit is contained in:
parent
77c340b045
commit
391028bdc9
|
@ -1,11 +1,12 @@
|
|||
# Template file for 'oprofile-qt4-gui'.
|
||||
#
|
||||
revision=1
|
||||
short_desc="Qt GUI for oprofile"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains oprof_start, a Qt4 GUI for oprofile."
|
||||
|
||||
Add_dependency run oprofile
|
||||
Add_dependency run oprofile ">=${version}"
|
||||
|
||||
do_install()
|
||||
{
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# Template file for 'oprofile'
|
||||
pkgname=oprofile
|
||||
version=0.9.7
|
||||
revision=1
|
||||
homepage="http://oprofile.sourceforge.net"
|
||||
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
||||
build_style=gnu-configure
|
||||
|
@ -20,6 +21,9 @@ long_desc="
|
|||
applications."
|
||||
|
||||
subpackages="$pkgname-qt4-gui"
|
||||
system_accounts="oprofile"
|
||||
oprofile_homedir="/var/lib/oprofile"
|
||||
make_dirs="/var/lib/oprofile 0750 oprofile oprofile"
|
||||
|
||||
Add_dependency build qt-devel
|
||||
Add_dependency build zlib-devel
|
||||
|
|
Loading…
Reference in New Issue
Block a user