From 599d59fca9688cc11e8418ae49e0766ec96fe490 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Tue, 29 May 2012 13:47:18 +0000 Subject: testing/irqbalance: move to main --- main/irqbalance/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 main/irqbalance/APKBUILD (limited to 'main/irqbalance/APKBUILD') diff --git a/main/irqbalance/APKBUILD b/main/irqbalance/APKBUILD new file mode 100644 index 0000000000..18db6b8795 --- /dev/null +++ b/main/irqbalance/APKBUILD @@ -0,0 +1,44 @@ +# Maintainer: Leonardo Arena +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" -- cgit v1.2.3