summaryrefslogtreecommitdiff
blob: b60d77d93840175eabca0cd5e6cb0ec44b2a7d13 (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
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/sys-apps/schedutils/schedutils-0.0.5.ebuild,v 1.3 2002/07/21 20:44:28 gerk Exp $

DESCRIPTION="Utilities for manipulating kernel schedular parameters"
HOMEPAGE="http://tech9.net/rml/"
KEYWORDS="x86 -ppc"
LICENSE=GPL-2

RDEPEND="virtual/glibc"
DEPEND="$RDEPEND"
SLOT="0"

SRC_URI="http://tech9.net/rml/${P}.tar.gz"
S=${WORKDIR}/${P}

src_unpack() {
	unpack ${P}.tar.gz
	cd ${S}
	cp Makefile.in Makefile.in.orig
	sed -e "s:^CFLAGS =.*:CFLAGS = ${CFLAGS}:" \
			Makefile.in.orig > Makefile.in
}

src_compile() {
	./configure --prefix=/usr || die
	emake || die
}

src_install() {
	dodoc COPYING CREDITS ChangeLog INSTALL README
	dobin irqset lsrt taskset rt
	cd man
	doman irqset.1  lsrt.1  rt.1  taskset.1
}