void-packages/srcpkgs/irqbalance/template
2020-08-08 07:32:20 -04:00

25 lines
725 B
Bash

# Template file for 'irqbalance'
pkgname=irqbalance
version=1.7.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libcap-ng-devel libglib-devel ncurses-devel"
short_desc="Handholding your interrupts for power and performance"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://github.com/Irqbalance/irqbalance"
distfiles="https://github.com/Irqbalance/irqbalance/archive/v${version}.tar.gz"
checksum=28f2ad35945b93d90f4a5bad95b4c0871a0f644375f746ec16f61045b9ec970e
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*|ppc64*) makedepends+=" libnuma-devel";;
esac
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vsv irqbalance
}