void-packages/srcpkgs/irqbalance/template

25 lines
759 B
Bash
Raw Normal View History

2012-08-16 18:05:41 +02:00
# Template file for 'irqbalance'
pkgname=irqbalance
2015-03-17 08:28:53 +01:00
version=1.0.9
2014-12-18 08:46:58 +01:00
revision=1
2014-10-13 14:03:54 +02:00
build_options="systemd"
2012-08-16 18:05:41 +02:00
build_style=gnu-configure
2014-02-20 12:12:46 +01:00
hostmakedepends="automake libtool pkg-config"
makedepends="libglib-devel libcap-ng-devel libnuma-devel"
2012-08-16 18:05:41 +02:00
short_desc="Handholding your interrupts for power and performance"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2012-08-16 18:05:41 +02:00
license="GPL-2"
2014-12-18 08:46:58 +01:00
homepage="https://github.com/Irqbalance/irqbalance"
2014-02-20 12:12:46 +01:00
distfiles="https://github.com/Irqbalance/irqbalance/archive/v${version}.tar.gz"
2015-03-17 08:28:53 +01:00
checksum=f1b8115948bb9f0bc36b9d7143ee8be751a294bc189d311408e753acc37169c3
2014-02-20 12:12:46 +01:00
pre_configure() {
2014-12-18 08:46:58 +01:00
NOCONFIGURE=1 ./autogen.sh
2014-02-20 12:12:46 +01:00
}
2012-08-16 18:05:41 +02:00
post_install() {
2014-10-13 14:03:54 +02:00
vsv ${pkgname}
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
fi
2012-08-16 18:05:41 +02:00
}