[arch-commits] Commit in irqbalance/trunk (3 files)
Dan McGee
dan at archlinux.org
Mon Jun 14 17:42:31 UTC 2010
Date: Monday, June 14, 2010 @ 13:42:31
Author: dan
Revision: 82609
upgpkg: irqbalance 0.56-1
Bump to 0.56; clean up build process
Modified:
irqbalance/trunk/PKGBUILD
irqbalance/trunk/irqbalance.rc.d
Deleted:
irqbalance/trunk/Makefile.irqbalance
---------------------+
Makefile.irqbalance | 13 -------------
PKGBUILD | 22 ++++++++++++----------
irqbalance.rc.d | 2 +-
3 files changed, 13 insertions(+), 24 deletions(-)
Deleted: Makefile.irqbalance
===================================================================
--- Makefile.irqbalance 2010-06-14 17:14:27 UTC (rev 82608)
+++ Makefile.irqbalance 2010-06-14 17:42:31 UTC (rev 82609)
@@ -1,13 +0,0 @@
-CFLAGS := $(CFLAGS) -D_FORTIFY_SOURCE=2 -Wall -W $(shell pkg-config --cflags glib-2.0)
-LDFLAGS := $(shell pkg-config --libs glib-2.0)
-
-OBJS = bitmap.o irqbalance.o cputree.o procinterrupts.o irqlist.o \
- placement.o activate.o network.o powermode.o numa.o classify.o
-
-all: irqbalance
-
-irqbalance: $(OBJS)
- $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
-
-clean:
- rm -f irqbalance *~ *.o
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-06-14 17:14:27 UTC (rev 82608)
+++ PKGBUILD 2010-06-14 17:42:31 UTC (rev 82609)
@@ -2,8 +2,8 @@
# Contributor: Martin Striz <ms at poruba.net>
pkgname=irqbalance
-pkgver=0.55
-pkgrel=3
+pkgver=0.56
+pkgrel=1
pkgdesc="IRQ balancing daemon for SMP systems"
arch=('i686' 'x86_64')
url="http://www.irqbalance.org/"
@@ -11,22 +11,24 @@
depends=(glib2)
makedepends=(pkgconfig)
backup=(etc/conf.d/irqbalance)
-source=(http://www.irqbalance.org/releases/$pkgname-$pkgver.tar.gz
- Makefile.irqbalance
+source=(http://irqbalance.googlecode.com/files/irqbalance-$pkgver.tbz2
irqbalance.conf.d
irqbalance.rc.d)
-md5sums=('9f6b314ff1fdc14173abeb40592d4edf'
- '45bc9e1d041d8547f2dbf12f887216df'
+md5sums=('cd0c4d3b2bb84778a04fc594ad83949a'
'336c1ee99818f9ecda1687e34c69fd6b'
- '96efae052553711f74a61760cefa93b5')
+ 'fb82fc5d267d39110baf720d81282a7c')
build() {
cd $srcdir/$pkgname-$pkgver
- # use our Makefile instead of one provided which is not quite right
- cp ../Makefile.irqbalance Makefile
- make || return 1
+ ./autogen.sh
+ ./configure
+ make
+}
+package() {
+ cd $srcdir/$pkgname-$pkgver
install -D -m755 irqbalance $pkgdir/usr/sbin/irqbalance
+ install -D -m644 irqbalance.1 $pkgdir/usr/share/man/man1/irqbalance.1
install -D -m644 ../irqbalance.conf.d $pkgdir/etc/conf.d/irqbalance
install -D -m755 ../irqbalance.rc.d $pkgdir/etc/rc.d/irqbalance
}
Modified: irqbalance.rc.d
===================================================================
--- irqbalance.rc.d 2010-06-14 17:14:27 UTC (rev 82608)
+++ irqbalance.rc.d 2010-06-14 17:42:31 UTC (rev 82609)
@@ -5,7 +5,7 @@
[ -f /etc/conf.d/irqbalance ] && . /etc/conf.d/irqbalance
if [ "$ONESHOT" -ne 0 ]; then
- ONESHOT_CMD="oneshot"
+ ONESHOT_CMD="--oneshot"
fi
. /etc/rc.conf
More information about the arch-commits
mailing list