void-packages/srcpkgs/irqbalance/template

26 lines
709 B
Bash

# Template file for 'irqbalance'
pkgname=irqbalance
version=1.0.9
revision=8
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="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=f1b8115948bb9f0bc36b9d7143ee8be751a294bc189d311408e753acc37169c3
build_pie=yes
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) makedepends+=" libnuma-devel";;
esac
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vsv ${pkgname}
}