void-packages/srcpkgs/irqbalance/template

30 lines
1.3 KiB
Plaintext

# Template file for 'irqbalance'
pkgname=irqbalance
version=1.0.7
revision=1
build_style=gnu-configure
hostmakedepends="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"
homepage="https://code.google.com/p/irqbalance/"
distfiles="https://irqbalance.googlecode.com/files/${pkgname}-${version}.tar.bz2"
checksum=fed1bb405654be8eda40961667bbe75033667600d828b34419c25a1282e81127
long_desc="
Irqbalance is the Linux utility tasked with making sure that interrupts from
your hardware devices are handled in as efficient a manner as possible
(meaning every cpu handles some of the interrupt work), while at the same time
making sure that no single cpu is tasked with a inappropriately large amount
of this work. Irqbalance constantly analyzes the amuont of work interrupts
require on your system and balances interrupt handling across all of your
systems cpus in a fair manner, keeping system performance more predictable and
constant. This should all happen transparently to the user. If irqbalance
performs its job right, nobody will ever notice it's there or want to turn it
off."
post_install() {
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
}