void-packages/srcpkgs/irqbalance/template

25 lines
756 B
Plaintext

# Template file for 'irqbalance'
pkgname=irqbalance
version=1.0.8
revision=1
build_options="systemd"
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libglib-devel libcap-ng-devel libnuma-devel"
short_desc="Handholding your interrupts for power and performance"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="https://github.com/Irqbalance/irqbalance"
distfiles="https://github.com/Irqbalance/irqbalance/archive/v${version}.tar.gz"
checksum=9329941b9d6b9edcba045534dbe33a1b681fa8339c94e08d9fd8aad52a7e0d65
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vsv ${pkgname}
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
fi
}