summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/irqbalance/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verison.net>2010-03-09 22:58:27 (GMT)
committerMichael Hanson <hansonorders@verison.net>2010-03-09 22:58:27 (GMT)
commitdd7cf9e9936e3afdbb00f34f0a91310f25054a01 (patch)
tree18f0f58fd331164580d669a3194b98b0effb22a4 /abs/extra-testing/irqbalance/PKGBUILD
parent5a7ebc8b419aded494ef76a1b9480a34d71a6c45 (diff)
downloadlinhes_pkgbuild-dd7cf9e9936e3afdbb00f34f0a91310f25054a01.zip
linhes_pkgbuild-dd7cf9e9936e3afdbb00f34f0a91310f25054a01.tar.gz
linhes_pkgbuild-dd7cf9e9936e3afdbb00f34f0a91310f25054a01.tar.bz2
irqbalance: make package compatable with runit.
Diffstat (limited to 'abs/extra-testing/irqbalance/PKGBUILD')
-rw-r--r--abs/extra-testing/irqbalance/PKGBUILD25
1 files changed, 16 insertions, 9 deletions
diff --git a/abs/extra-testing/irqbalance/PKGBUILD b/abs/extra-testing/irqbalance/PKGBUILD
index 5d823cd..a21cda2 100644
--- a/abs/extra-testing/irqbalance/PKGBUILD
+++ b/abs/extra-testing/irqbalance/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=irqbalance
pkgver=0.55
-pkgrel=3
+pkgrel=4
pkgdesc="IRQ balancing daemon for SMP systems"
arch=('i686' 'x86_64')
url="http://www.irqbalance.org/"
@@ -11,14 +11,13 @@ license=('GPL')
depends=(glib2)
makedepends=(pkgconfig)
backup=(etc/conf.d/irqbalance)
+install=($pkgname.install)
source=(http://www.irqbalance.org/releases/$pkgname-$pkgver.tar.gz
Makefile.irqbalance
irqbalance.conf.d
- irqbalance.rc.d)
-md5sums=('9f6b314ff1fdc14173abeb40592d4edf'
- '45bc9e1d041d8547f2dbf12f887216df'
- '336c1ee99818f9ecda1687e34c69fd6b'
- '96efae052553711f74a61760cefa93b5')
+ run
+ finish
+ irqbalance.install)
build() {
cd $srcdir/$pkgname-$pkgver
@@ -26,7 +25,15 @@ build() {
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
+ install -D -m755 irqbalance $pkgdir/usr/sbin/irqbalance || return 1
+ mkdir -p $pkgdir/etc/sv/irqbalance || return 1
+ install -D -m644 ../irqbalance.conf.d $pkgdir/etc/conf.d/irqbalance || return 1
+ install -D -m755 ../run $pkgdir/etc/sv/irqbalance || return 1
+ install -D -m755 ../finish $pkgdir/etc/sv/irqbalance || return 1
}
+md5sums=('9f6b314ff1fdc14173abeb40592d4edf'
+ '45bc9e1d041d8547f2dbf12f887216df'
+ '336c1ee99818f9ecda1687e34c69fd6b'
+ '7f3ee7fb2fccb619f7c66668b6d96d35'
+ 'ebb35e88267f4c2e6f68e675c81b2a34'
+ '5f5e96d2fbf35e85d4a8004a3d6b73fc')