void-packages/srcpkgs/rtkit/template
2018-10-18 12:04:13 +02:00

25 lines
715 B
Bash

# Template file for 'rtkit'
pkgname=rtkit
version=0.11
revision=16
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="dbus-devel libcap-devel"
short_desc="Realtime Policy and Watchdog Daemon"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT, GPL-3.0-or-later"
homepage="http://git.0pointer.de/?p=rtkit.git"
distfiles="http://0pointer.de/public/${pkgname}-${version}.tar.xz"
checksum=68859108cff6410901502b58365eb7607da37110a06b837762f771735f58acd0
system_accounts="rtkit"
rtkit_homedir="/proc"
post_install() {
# DBus configuration
vinstall ${FILESDIR}/org.freedesktop.RealtimeKit1.xml 644 usr/share/dbus-1/interfaces
sed -n '7,28p' < rtkit.h > LICENSE
vlicense LICENSE
vsv rtkit
}