blob: 956e8f0998866f310ae9193576982b77c474b8ca (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/schedutils/schedutils-1.1.0.ebuild,v 1.6 2003/06/10 17:24:35 msterret Exp $
DESCRIPTION="Utilities for manipulating kernel schedular parameters"
HOMEPAGE="http://tech9.net/rml/schedutils"
KEYWORDS="~x86 -ppc"
LICENSE="GPL-2"
RDEPEND="virtual/glibc"
DEPEND="$RDEPEND
>=sys-apps/sed-4"
SLOT="0"
SRC_URI="http://tech9.net/rml/${PN}/${P}.tar.gz"
S=${WORKDIR}/${P}
src_unpack() {
unpack ${A}
cd ${S}
sed -i -e 's:\(#include <features.h>\):\1\n#include <errno.h>:' \
taskset.c || die "Sed failed"
}
src_compile() {
emake PREFIX=/usr || die "Make failed"
}
src_install() {
dodir /usr/bin
dodir /usr/share/man/man1
dodir /usr/share/doc
einstall PREFIX=${D}/usr || die "Install failed"
}
|