void-packages/srcpkgs/irqbalance/template

26 lines
717 B
Bash

# Template file for 'irqbalance'
pkgname=irqbalance
version=1.5.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="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-only"
homepage="https://github.com/Irqbalance/irqbalance"
distfiles="https://github.com/Irqbalance/irqbalance/archive/v${version}.tar.gz"
checksum=3318eddc03782cfdad22b20eff18eaf378c498c5de286e8cbaa5521ddf4f810b
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) makedepends+=" libnuma-devel";;
esac
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vsv ${pkgname}
}