void-packages/srcpkgs/rtkit/template
2013-04-18 14:08:33 +02:00

31 lines
839 B
Text

# Template file for 'rtkit'
pkgname=rtkit
version=0.11
revision=5
build_style=gnu-configure
configure_args="LIBS=-lrt --with-systemdsystemunitdir=/usr/lib/systemd/system"
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
makedepends="pkg-config dbus-devel libcap-devel shadow"
post_install() {
# DBus configuration
vmkdir usr/share/dbus-1/interfaces
./rtkit-daemon --introspect > \
${DESTDIR}/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
}
rtkit_package() {
depends="shadow"
system_accounts="rtkit"
rtkit_homedir="/proc"
pkg_install() {
vmove etc
vmove usr
}
}