# Template file for 'irqbalance'
pkgname=irqbalance
version=1.0.7
revision=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"
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
}
