blob: 4fc52750112e5e4f5f26ba21b782affb2305fe17 (
plain)
1
2
3
4
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
38
39
40
41
42
43
44
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=irqbalance
pkgver=1.0.4
pkgrel=0
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.bz2
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
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}
md5sums="f7ca283c46331db73f27e686a643dcfb irqbalance-1.0.4.tar.bz2
731fa9a46bc4fa380604bfb76d96d1ed irqbalance.confd
25fb4cee9e7b6fc243c10e82c43d0d8d irqbalance.initd"
|