void-packages/srcpkgs/rtkit/template
2012-08-10 06:04:32 +02:00

28 lines
1,023 B
Plaintext

# Template file for 'rtkit'
pkgname=rtkit
version=0.11
revision=1
build_style=gnu-configure
configure_args="--with-systemdsystemunitdir=/usr/lib/systemd/system"
makedepends="pkg-config dbus-devel libcap-devel"
system_accounts="rtkit"
rtkit_homedir="/proc"
short_desc="Realtime Policy and Watchdog Daemon"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD, GPL-2"
homepage="http://git.0pointer.de/?p=rtkit.git"
distfiles="http://0pointer.de/public/$pkgname-$version.tar.xz"
checksum=68859108cff6410901502b58365eb7607da37110a06b837762f771735f58acd0
long_desc="
RealtimeKit is a D-Bus system service that changes the scheduling policy of
user processes/threads to SCHED_RR (i.e. realtime scheduling mode) on request.
It is intended to be used as a secure mechanism to allow real-time scheduling
to be used by normal user processes."
post_install() {
# DBus configuration
vmkdir usr/share/dbus-1/interfaces
./rtkit-daemon --introspect > \
${DESTDIR}/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
}