diff options
Diffstat (limited to 'abs/extra-testing/irqbalance/PKGBUILD')
-rw-r--r-- | abs/extra-testing/irqbalance/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/extra-testing/irqbalance/PKGBUILD b/abs/extra-testing/irqbalance/PKGBUILD new file mode 100644 index 0000000..5d823cd --- /dev/null +++ b/abs/extra-testing/irqbalance/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Dan McGee <dan@archlinux.org> +# Contributor: Martin Striz <ms@poruba.net> + +pkgname=irqbalance +pkgver=0.55 +pkgrel=3 +pkgdesc="IRQ balancing daemon for SMP systems" +arch=('i686' 'x86_64') +url="http://www.irqbalance.org/" +license=('GPL') +depends=(glib2) +makedepends=(pkgconfig) +backup=(etc/conf.d/irqbalance) +source=(http://www.irqbalance.org/releases/$pkgname-$pkgver.tar.gz + Makefile.irqbalance + irqbalance.conf.d + irqbalance.rc.d) +md5sums=('9f6b314ff1fdc14173abeb40592d4edf' + '45bc9e1d041d8547f2dbf12f887216df' + '336c1ee99818f9ecda1687e34c69fd6b' + '96efae052553711f74a61760cefa93b5') + +build() { + cd $srcdir/$pkgname-$pkgver + # use our Makefile instead of one provided which is not quite right + cp ../Makefile.irqbalance Makefile + make || return 1 + + install -D -m755 irqbalance $pkgdir/usr/sbin/irqbalance + install -D -m644 ../irqbalance.conf.d $pkgdir/etc/conf.d/irqbalance + install -D -m755 ../irqbalance.rc.d $pkgdir/etc/rc.d/irqbalance +} |