irqbalance: added runit service.
This commit is contained in:
parent
1b59f28ec8
commit
c155b99f23
2
srcpkgs/irqbalance/files/irqbalance/run
Executable file
2
srcpkgs/irqbalance/files/irqbalance/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec irqbalance -f
|
|
@ -1,11 +1,12 @@
|
|||
# Template file for 'irqbalance'
|
||||
pkgname=irqbalance
|
||||
version=1.0.7
|
||||
revision=2
|
||||
revision=3
|
||||
build_options="systemd"
|
||||
replaces="runit-void<20141013_2"
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake libtool pkg-config"
|
||||
makedepends="libglib-devel libcap-ng-devel libnuma-devel"
|
||||
systemd_services="irqbalance.service on"
|
||||
short_desc="Handholding your interrupts for power and performance"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2"
|
||||
|
@ -13,11 +14,12 @@ homepage="https://code.google.com/p/irqbalance/"
|
|||
distfiles="https://github.com/Irqbalance/irqbalance/archive/v${version}.tar.gz"
|
||||
checksum=8c3916780d254b74fb1c7ec22876d63ac01f1b32776d9204a604b73c8f591d2a
|
||||
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
|
||||
vsv ${pkgname}
|
||||
if [ "$build_option_systemd" ]; then
|
||||
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user