# Contributor: Ɓukasz Jendrysik # Maintainer: Leonardo Arena pkgname=irqbalance pkgver=1.9.2 pkgrel=5 pkgdesc="Daemon that distributes interrupts over the processors" url="https://github.com/Irqbalance/irqbalance" arch="all" license="GPL-2.0-or-later" makedepends="$depends_dev glib-dev autoconf automake libtool ncurses-dev numactl-dev" subpackages="$pkgname-doc $pkgname-openrc" source="$pkgname-$pkgver.tar.gz::https://github.com/Irqbalance/irqbalance/archive/v$pkgver.tar.gz musl.patch irqbalance.confd irqbalance.initd " prepare() { default_prepare ./autogen.sh } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info make } check() { make check } package() { make DESTDIR="$pkgdir" install install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname } sha512sums=" d0fb157fbfc096fa9cfb4562e51fd4c3f4fa8788f72377c58b27df67c70073b787bba05e39809dcbe17532bb5b8e74b6d27c5e5b3d9af09bc9ce1a9b6aab9378 irqbalance-1.9.2.tar.gz e00640c33b92c7db2ecf8adfd1df92c9b159a538e27dd35a9c2cedae04791503bd10b22df64765b0ff8ce932d6d1fa8b41456e351d13d380dcd20db7cc7aabd1 musl.patch 90e7ed187b4dccd6f6c4383ba54d6e1aed1645240e44aaf02db1b70b56594b1a828644d671e6db91212417981b1d5e53d1ecfd4b366496dbcb484d1064d7d24c irqbalance.confd 72cfbe333253837481aca9b47d5af47a91f83c554df9ed6d958cd3099de403a23d99528c2d245c1be730b37678a127f57bc61a8d497f51ad4abb78ed81854185 irqbalance.initd "