blob: d454a71416eb95dfa76ac6797de74b549c8260b9 [file] [log] [blame]
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-process/schedtool/schedtool-1.3.0.ebuild,v 1.1 2008/10/31 21:11:04 dsd Exp $
DESCRIPTION="A tool to query or alter a process' scheduling policy."
HOMEPAGE="http://freequaos.host.sk/schedtool"
SRC_URI="http://freequaos.host.sk/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT=0
KEYWORDS="~amd64 ~mips ~ppc ~x86"
IUSE=""
src_unpack() {
unpack ${A}
cd "${S}"
sed -i '/^CFLAGS=/d' Makefile
}
src_compile() {
emake || die "Compilation failed."
}
src_install() {
make DESTPREFIX="${D}"/usr install
dodoc BUGS CHANGES INSTALL README THANKS TUNING
}