2010-11-19 22:23:07 +01:00
|
|
|
# Template file for 'rtkit'
|
|
|
|
pkgname=rtkit
|
2012-08-10 06:04:32 +02:00
|
|
|
version=0.11
|
2013-04-18 14:08:33 +02:00
|
|
|
revision=5
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-03-29 13:26:44 +01:00
|
|
|
configure_args="LIBS=-lrt --with-systemdsystemunitdir=/usr/lib/systemd/system"
|
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"
|
2012-08-10 06:04:32 +02:00
|
|
|
distfiles="http://0pointer.de/public/$pkgname-$version.tar.xz"
|
|
|
|
checksum=68859108cff6410901502b58365eb7607da37110a06b837762f771735f58acd0
|
2013-01-04 12:28:51 +01:00
|
|
|
|
2013-04-14 16:46:54 +02:00
|
|
|
makedepends="pkg-config dbus-devel libcap-devel shadow"
|
2010-11-19 22:23:07 +01:00
|
|
|
|
2012-05-27 20:04:01 +02:00
|
|
|
post_install() {
|
2010-11-19 22:23:07 +01:00
|
|
|
# DBus configuration
|
2012-08-10 06:04:32 +02:00
|
|
|
vmkdir usr/share/dbus-1/interfaces
|
2010-11-19 22:23:07 +01:00
|
|
|
./rtkit-daemon --introspect > \
|
|
|
|
${DESTDIR}/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
|
|
|
|
}
|
2013-04-13 22:47:11 +02:00
|
|
|
|
|
|
|
rtkit_package() {
|
|
|
|
depends="shadow"
|
|
|
|
system_accounts="rtkit"
|
|
|
|
rtkit_homedir="/proc"
|
|
|
|
pkg_install() {
|
2013-04-18 14:08:33 +02:00
|
|
|
vmove etc
|
2013-04-13 22:47:11 +02:00
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|