summaryrefslogtreecommitdiff
path: root/extra/irqbalance/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-22 00:02:51 +0000
committerroot <root@rshg054.dnsready.net>2012-08-22 00:02:51 +0000
commit297a042ac9a7bbd2b18a9551f5fa4fe43faf53b2 (patch)
tree75290bf7727659568bf50c0446db690d4888d908 /extra/irqbalance/PKGBUILD
parenta3669c04838b48b6891b2ffc4b296fa515f8174f (diff)
Wed Aug 22 00:02:51 UTC 2012
Diffstat (limited to 'extra/irqbalance/PKGBUILD')
-rw-r--r--extra/irqbalance/PKGBUILD20
1 files changed, 14 insertions, 6 deletions
diff --git a/extra/irqbalance/PKGBUILD b/extra/irqbalance/PKGBUILD
index 99648219e..52c5ae477 100644
--- a/extra/irqbalance/PKGBUILD
+++ b/extra/irqbalance/PKGBUILD
@@ -2,7 +2,8 @@
# Contributor: Martin Striz <ms@poruba.net>
pkgname=irqbalance
-pkgver=1.0.3
+_realver=1.0.3
+pkgver=1.0.3.20110809
pkgrel=1
pkgdesc="IRQ balancing daemon for SMP systems"
arch=('i686' 'x86_64')
@@ -11,22 +12,29 @@ license=('GPL')
depends=(glib2 numactl libcap-ng)
makedepends=(pkgconfig)
backup=(etc/conf.d/irqbalance)
-source=(http://irqbalance.googlecode.com/files/irqbalance-$pkgver.tar.gz
+source=(http://irqbalance.googlecode.com/files/irqbalance-$_realver.tar.gz
+ irqbalance-2011-08-09.patch
irqbalance.conf.d
- irqbalance.rc.d)
+ irqbalance.rc.d
+ irqbalance.service)
md5sums=('6f246481d6295bcb9a79751c03207c96'
+ '49a5669fc3eb452a5d24abec887f0a6a'
'336c1ee99818f9ecda1687e34c69fd6b'
- 'fb82fc5d267d39110baf720d81282a7c')
+ 'fb82fc5d267d39110baf720d81282a7c'
+ '9e82dc471128117982a8dd0c4bd5f246')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname-$_realver"
+ patch -Np1 < ../irqbalance-2011-08-09.patch
+ autoreconf -fi
./configure --prefix=/usr
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname-$_realver"
make install DESTDIR="$pkgdir"
install -D -m644 ../irqbalance.conf.d "$pkgdir"/etc/conf.d/irqbalance
install -D -m755 ../irqbalance.rc.d "$pkgdir"/etc/rc.d/irqbalance
+ install -D -m644 ../irqbalance.service "$pkgdir"/usr/lib/systemd/system/irqbalance.service
}