/[gentoo-x86]/sys-apps/irqbalance/irqbalance-1.0.3.ebuild
Gentoo

Contents of /sys-apps/irqbalance/irqbalance-1.0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Tue Aug 14 10:36:47 2012 UTC (2 years ago) by johu
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable for x86, wrt bug #422177

(Portage version: 2.2.0_alpha120/cvs/Linux i686)

1 flameeyes 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 johu 1.5 # $Header: /var/cvsroot/gentoo-x86/sys-apps/irqbalance/irqbalance-1.0.3.ebuild,v 1.4 2012/08/08 19:29:55 ranger Exp $
4 flameeyes 1.1
5     EAPI=4
6    
7     inherit systemd
8    
9     DESCRIPTION="Distribute hardware interrupts across processors on a multiprocessor system"
10     HOMEPAGE="http://irqbalance.googlecode.com/"
11     SRC_URI="http://irqbalance.googlecode.com/files/${P}.tar.gz"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15 johu 1.5 KEYWORDS="amd64 ppc x86"
16 flameeyes 1.1 IUSE="caps numa"
17    
18     RDEPEND="dev-libs/glib:2
19     caps? ( sys-libs/libcap-ng )
20     numa? ( sys-process/numactl )"
21     DEPEND="${RDEPEND}
22 jdhore 1.2 virtual/pkgconfig"
23 flameeyes 1.1
24     src_configure() {
25     econf \
26     $(use_with caps libcap-ng) \
27     $(use_enable numa)
28     }
29    
30     src_install() {
31     default
32     newinitd "${FILESDIR}"/irqbalance.init.2 irqbalance
33     newconfd "${FILESDIR}"/irqbalance.confd-1 irqbalance
34     systemd_dounit "${FILESDIR}"/irqbalance.service
35     }

  ViewVC Help
Powered by ViewVC 1.1.20