APKBUILD 1.02 KB
Newer Older
1 2 3
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=irqbalance
pkgver=1.0.3
4
pkgrel=2
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
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"
source="http://irqbalance.googlecode.com/files/$pkgname-$pkgver.tar.gz
	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="6f246481d6295bcb9a79751c03207c96  irqbalance-1.0.3.tar.gz
43
731fa9a46bc4fa380604bfb76d96d1ed  irqbalance.confd
44
25fb4cee9e7b6fc243c10e82c43d0d8d  irqbalance.initd"