void-packages/srcpkgs/rtkit/template

28 lines
1.0 KiB
Plaintext
Raw Normal View History

2010-11-19 22:23:07 +01:00
# Template file for 'rtkit'
pkgname=rtkit
version=0.10
2012-07-09 18:25:11 +02:00
revision=6
build_style=gnu-configure
2012-07-09 18:25:11 +02:00
configure_args="--with-systemdsystemunitdir=/usr/lib/systemd/system"
makedepends="pkg-config dbus-devel libcap-devel"
system_accounts="rtkit"
rtkit_homedir="/proc"
2010-11-19 22:23:07 +01:00
short_desc="Realtime Policy and Watchdog Daemon"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-10-08 18:36:31 +02:00
license="BSD, GPL-2"
2012-07-09 18:25:11 +02:00
homepage="http://git.0pointer.de/?p=rtkit.git"
distfiles="http://0pointer.de/public/$pkgname-$version.tar.gz"
checksum=74ea93ac09d9d5a7cb85bf57ec92090311c9fb105a41bdd633adcf3b94472120
2010-11-19 22:23:07 +01:00
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() {
2010-11-19 22:23:07 +01:00
# DBus configuration
install -d ${DESTDIR}/usr/share/dbus-1/interfaces
./rtkit-daemon --introspect > \
${DESTDIR}/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
}