mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
added extra/irqbalance
This commit is contained in:
parent
b5bdea8c6e
commit
9089adbaf3
2 changed files with 40 additions and 0 deletions
32
extra/irqbalance/PKGBUILD
Normal file
32
extra/irqbalance/PKGBUILD
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Maintainer: Dan McGee <dan@archlinux.org>
|
||||
# Contributor: Martin Striz <ms@poruba.net>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - removed dependency on numactl
|
||||
# - updated source to new location
|
||||
|
||||
pkgname=irqbalance
|
||||
pkgver=1.0.7
|
||||
pkgrel=1
|
||||
pkgdesc="IRQ balancing daemon for SMP systems"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://code.google.com/p/irqbalance"
|
||||
license=('GPL')
|
||||
depends=(glib2 libcap-ng)
|
||||
makedepends=(pkgconfig)
|
||||
source=("https://github.com/Irqbalance/irqbalance/archive/v${pkgver}.tar.gz"
|
||||
'irqbalance.service')
|
||||
md5sums=('2a7090abab6bba15d632c24f5554e7ae'
|
||||
'a97ad17dc7df98b81acb500b27f931e5')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
./configure --prefix=/usr --sbindir=/usr/bin
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
make install DESTDIR="$pkgdir"
|
||||
install -D -m644 ../irqbalance.service "$pkgdir"/usr/lib/systemd/system/irqbalance.service
|
||||
}
|
8
extra/irqbalance/irqbalance.service
Normal file
8
extra/irqbalance/irqbalance.service
Normal file
|
@ -0,0 +1,8 @@
|
|||
[Unit]
|
||||
Description=CPU Interrupt Request Balancer
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/irqbalance --foreground
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue