diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-05-29 13:47:18 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-05-29 13:47:18 +0000 |
commit | 599d59fca9688cc11e8418ae49e0766ec96fe490 (patch) | |
tree | 463c24f2b055dc9c2310320f1d41f9cb568c568d /main/irqbalance/APKBUILD | |
parent | 05a2c92d3ed8e3c1c3efe03d8be6dc7e03637c1c (diff) | |
download | aports-599d59fca9688cc11e8418ae49e0766ec96fe490.tar.bz2 aports-599d59fca9688cc11e8418ae49e0766ec96fe490.tar.xz |
testing/irqbalance: move to main
Diffstat (limited to 'main/irqbalance/APKBUILD')
-rw-r--r-- | main/irqbalance/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/main/irqbalance/APKBUILD b/main/irqbalance/APKBUILD new file mode 100644 index 000000000..18db6b879 --- /dev/null +++ b/main/irqbalance/APKBUILD @@ -0,0 +1,44 @@ +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=irqbalance +pkgver=1.0.3 +pkgrel=2 +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 + install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname +} + +md5sums="6f246481d6295bcb9a79751c03207c96 irqbalance-1.0.3.tar.gz +731fa9a46bc4fa380604bfb76d96d1ed irqbalance.confd +25fb4cee9e7b6fc243c10e82c43d0d8d irqbalance.initd" |