void-packages/srcpkgs/irqbalance/template

26 lines
774 B
Plaintext

# Template file for 'irqbalance'
pkgname=irqbalance
version=1.0.7
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"
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://github.com/Irqbalance/irqbalance/archive/v${version}.tar.gz"
checksum=8c3916780d254b74fb1c7ec22876d63ac01f1b32776d9204a604b73c8f591d2a
pre_configure() {
autoreconf -fi
}
post_install() {
vsv ${pkgname}
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
fi
}