void-packages/srcpkgs/irqbalance/template

36 lines
1.4 KiB
Text
Raw Normal View History

2012-08-16 16:05:41 +00:00
# Template file for 'irqbalance'
pkgname=irqbalance
2012-11-19 09:38:04 +00:00
version=1.0.5
2012-09-05 05:07:29 +00:00
revision=1
2012-08-16 16:05:41 +00:00
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libglib-devel libcap-ng-devel libnuma-devel"
2012-08-16 16:05:41 +00:00
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/"
2012-11-19 09:38:04 +00:00
distfiles="https://irqbalance.googlecode.com/files/${pkgname}-${version}.tar.gz"
checksum=1123e75224b9c0b63ac85892e920bc4a9c76211278ea3d5d4bcbbde44815685c
2012-08-16 16:05:41 +00:00
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
}
irqbalance_package() {
systemd_services="irqbalance.service on"
pkg_install() {
vmove usr
}
}