APKBUILD 1.8 KB
Newer Older
1 2
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=irqbalance
3
pkgver=1.0.7
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.bz2
15 16 17 18 19 20 21 22 23 24 25 26 27
	irqbalance.confd
	irqbalance.initd"


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

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

build() {
	cd "$_builddir"
28 29 30 31
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
32 33
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
34 35
		--infodir=/usr/share/info \
		|| return 1
36 37 38 39 40 41
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
42 43
	install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
44 45
}

46
md5sums="09cb0ab81ab4f3401a7ff5dabc158a1e  irqbalance-1.0.7.tar.bz2
47
731fa9a46bc4fa380604bfb76d96d1ed  irqbalance.confd
48
25fb4cee9e7b6fc243c10e82c43d0d8d  irqbalance.initd"
49
sha256sums="fed1bb405654be8eda40961667bbe75033667600d828b34419c25a1282e81127  irqbalance-1.0.7.tar.bz2
50 51
98bb18cd977a0706c3e63a36a7dfb2aa01cd84cabb719da0ea5bf795e5d02413  irqbalance.confd
65a77bd6ae0b7d4f3323ca5e3a6ecc3a04008d6569208ae9e132a88fae28d83f  irqbalance.initd"
52
sha512sums="8cf062a0f8e6f235bda1b27c6c32e2104b1bc54c18561e69822d0364aa44e52973d1f87b45136d528353ec0356ba8cfe40be9627e67dd1f68d1132d72b87441b  irqbalance-1.0.7.tar.bz2
53 54
90e7ed187b4dccd6f6c4383ba54d6e1aed1645240e44aaf02db1b70b56594b1a828644d671e6db91212417981b1d5e53d1ecfd4b366496dbcb484d1064d7d24c  irqbalance.confd
82aeee7408f5cef2e619b1ce3d8ef8f7e7e4e18d6a300a5ec08b606b3b5fbd9c561898749252d38b73b301e9d2348ed59a42b7da0d2180a978e6f2c6e5d2e44e  irqbalance.initd"