# Template file for 'irqbalance'
pkgname=irqbalance
version=1.2.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="ncurses-devel libglib-devel libcap-ng-devel"
short_desc="Handholding your interrupts for power and performance"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://github.com/Irqbalance/irqbalance"
distfiles="https://github.com/Irqbalance/irqbalance/archive/v${version}.tar.gz"
checksum=0efe5d2a0947b54d89c7196a48eca9b3b33c80bc15964e4226a0f7d3fd9535b2

case "$XBPS_TARGET_MACHINE" in
	i686*|x86_64*) makedepends+=" libnuma-devel";;
esac

pre_configure() {
	NOCONFIGURE=1 ./autogen.sh
}
post_install() {
	vsv ${pkgname}
}
