# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-process/schedutils/schedutils-1.3.5.ebuild,v 1.1 2005/03/03 16:17:06 ciaranm Exp $ DESCRIPTION="Utilities for manipulating kernel schedular parameters" HOMEPAGE="http://tech9.net/rml/schedutils" KEYWORDS="~x86 amd64 ~ppc" IUSE="" LICENSE="GPL-2" RDEPEND="virtual/libc" DEPEND="$RDEPEND >=sys-apps/sed-4" SLOT="0" SRC_URI="http://tech9.net/rml/${PN}/packages/${PV}/${P}.tar.gz" src_unpack() { unpack ${A} cd ${S} sed -i -e 's:\(#include \):\1\n#include :' \ 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" }