APKBUILD 1.02 KB
Newer Older
1 2
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=irqbalance
3
pkgver=1.0.5
4
pkgrel=0
5 6 7 8 9 10 11 12 13
pkgdesc="Daemon that distributes interrupts over the processors"
url="http://code.google.com/p/irqbalance/"
arch="all"
license="GPL"
depends=
depends_dev=
makedepends="$depends_dev glib-dev"
install=
subpackages="$pkgname-doc"
14
source="http://irqbalance.googlecode.com/files/$pkgname-$pkgver.tar.gz
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
	irqbalance.confd
	irqbalance.initd"


_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	return 0
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
38 39
	install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
40 41
}

42
md5sums="b6403fa067c96adce448a48c9993654d  irqbalance-1.0.5.tar.gz
43
731fa9a46bc4fa380604bfb76d96d1ed  irqbalance.confd
44
25fb4cee9e7b6fc243c10e82c43d0d8d  irqbalance.initd"